Annotation of mstools/mfc/samples/minsvrmi/makefile, revision 1.1.1.1

1.1       root        1: # Makefile : Builds the minsvrMI application
                      2: #
                      3: # Usage:     NMAKE option (build minsvrMI)
                      4: #    or:     NMAKE clean  (erase all compiled files)
                      5: #
                      6: # option:    DEBUG=[0|1]  (DEBUG not defined is equivalent to DEBUG=0)
                      7: #
                      8: # This is a part of the Microsoft Foundation Classes C++ library.
                      9: # Copyright (C) 1992 Microsoft Corporation
                     10: # All rights reserved.
                     11: #
                     12: # This source code is only intended as a supplement to the
                     13: # Microsoft Foundation Classes Reference and Microsoft
                     14: # QuickHelp documentation provided with the library.
                     15: # See these sources for detailed information regarding the
                     16: # Microsoft Foundation Classes product.
                     17: #
                     18: 
                     19: OBJS = minsvrMI.obj mainwnd.obj
                     20: PCH=minsvrMI.h
                     21: 
                     22: !ifndef NTMFC
                     23: CPPFLAGS=/DWINVER=0x0300 /AM /Zp /GA /GEs /G2 /Yu$(PCH) 
                     24: LINKFLAGS=/NOD /ONERROR:NOEXE
                     25: 
                     26: !if "$(DEBUG)"=="1"
                     27: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f /W4
                     28: LINKFLAGS=$(LINKFLAGS) /COD
                     29: LIBS=mafxcwd libw mlibcew olesvr shell
                     30: !else
                     31: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs /W3
                     32: LINKFLAGS=$(LINKFLAGS)
                     33: LIBS=mafxcw libw mlibcew olesvr shell
                     34: !endif
                     35: 
                     36: minsvrMI.exe: minsvrMI.res minsvrMI.def $(OBJS)
                     37:        link $(LINKFLAGS) @<<
                     38: $(OBJS),
                     39: minsvrMI,
                     40: NUL,
                     41: $(LIBS),
                     42: minsvrMI.def;
                     43: <<
                     44:        rc -30 /k /t minsvrMI.res
                     45: 
                     46: !else
                     47: 
                     48: !include ..\ntsample.mak
                     49: 
                     50: minsvrMI.exe: minsvrMI.res minsvrMI.def $(OBJS)
                     51:     $(LINK) $(GUIFLAGS) -out:minsvrMI.exe $(OBJS) minsvrMI.res $(MFCLIB) $(GUILIBS)
                     52: !endif
                     53: 
                     54: minsvrMI.obj : minsvrMI.cpp minsvrMI.h
                     55:        $(CC) $(CPPFLAGS) /Yc$(PCH) /c minsvrMI.cpp
                     56: 
                     57: *.obj:  $(PCH)
                     58: minsvrMI.res:  *.ico *.dlg minsvrMI.h
                     59: 
                     60: clean:
                     61:        -erase minsvrMI.exe
                     62:        -erase minsvrMI.res
                     63:        -erase minsvrMI.pch
                     64:        -erase *.obj

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.