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

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: 
1.1.1.2 ! root       22: !ifdef WIN16MFC
        !            23: #!message compiling for WIN16
        !            24: 
1.1       root       25: CPPFLAGS=/DWINVER=0x0300 /AM /Zp /GA /GEs /G2 /Yu$(PCH) 
                     26: LINKFLAGS=/NOD /ONERROR:NOEXE
                     27: 
                     28: !if "$(DEBUG)"=="1"
                     29: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f /W4
                     30: LINKFLAGS=$(LINKFLAGS) /COD
                     31: LIBS=mafxcwd libw mlibcew olesvr shell
                     32: !else
                     33: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs /W3
                     34: LINKFLAGS=$(LINKFLAGS)
                     35: LIBS=mafxcw libw mlibcew olesvr shell
                     36: !endif
                     37: 
                     38: minsvrMI.exe: minsvrMI.res minsvrMI.def $(OBJS)
                     39:        link $(LINKFLAGS) @<<
                     40: $(OBJS),
                     41: minsvrMI,
                     42: NUL,
                     43: $(LIBS),
                     44: minsvrMI.def;
                     45: <<
                     46:        rc -30 /k /t minsvrMI.res
                     47: 
                     48: !else
                     49: 
                     50: !include ..\ntsample.mak
                     51: 
                     52: minsvrMI.exe: minsvrMI.res minsvrMI.def $(OBJS)
                     53:     $(LINK) $(GUIFLAGS) -out:minsvrMI.exe $(OBJS) minsvrMI.res $(MFCLIB) $(GUILIBS)
                     54: !endif
                     55: 
                     56: minsvrMI.obj : minsvrMI.cpp minsvrMI.h
                     57:        $(CC) $(CPPFLAGS) /Yc$(PCH) /c minsvrMI.cpp
                     58: 
                     59: *.obj:  $(PCH)
                     60: minsvrMI.res:  *.ico *.dlg minsvrMI.h
                     61: 
                     62: clean:
                     63:        -erase minsvrMI.exe
                     64:        -erase minsvrMI.res
                     65:        -erase minsvrMI.pch
                     66:        -erase *.obj

unix.superglobalmegacorp.com

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