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

1.1       root        1: # Makefile : Builds the templdef application
                      2: #
                      3: # Usage:     NMAKE options (build templdef)
                      4: #    or:     NMAKE clean   (erase all compiled files)
                      5: #
                      6: # options:   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: 
1.1.1.2 ! root       19: !ifdef WIN16MFC
        !            20: #!message compiling for WIN16
        !            21: 
1.1       root       22: CPPFLAGS= /AM /W3 /Zp /D_DOS
                     23: LINKFLAGS=/NOD /ONERROR:NOEXE
                     24: 
                     25: !if "$(DEBUG)"=="1"
                     26: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
                     27: LINKFLAGS=$(LINKFLAGS) /COD
                     28: LIBS=mafxcrd mlibce $(LIBS)
                     29: !else
                     30: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
                     31: LINKFLAGS=$(LINKFLAGS)  
                     32: LIBS=mafxcr mlibce $(LIBS)
                     33: !endif
                     34: 
                     35: templdef.exe:   templdef.obj
                     36:        link $(LINKFLAGS) templdef, templdef, NUL, $(LIBS);
                     37: !else
                     38: 
                     39: CONSOLE=1
                     40: !include ..\ntsample.mak
                     41: 
                     42: templdef.exe:   templdef.obj
                     43:     $(LINK) $(CONFLAGS) -out:templdef.exe templdef.obj $(MFCLIB) $(CONLIBS)
                     44: 
                     45: !endif
                     46: 
                     47: clean:
                     48:        -erase templdef.exe
                     49:        -erase templdef.obj

unix.superglobalmegacorp.com

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