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

1.1       root        1: # Makefile : Builds the Multipad application
                      2: #
                      3: # Usage:     NMAKE option (build Multipad)
                      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: 
                     20: OBJS=mpmain.obj mpinit.obj mpfile.obj mpfind.obj mpprint.obj bar.obj 
                     21: HDRS=multipad.h bar.h resource.h menu.h
                     22: PCH=multipad.h
                     23: 
1.1.1.2 ! root       24: !ifdef WIN16MFC
        !            25: #!message compiling for WIN16
        !            26: 
1.1       root       27: CPPFLAGS=  /DWINVER=0x0300 /AM /W3 /Zp /GA /GEs /G2 /Yu$(PCH) 
                     28: LINKFLAGS=/NOD /ONERROR:NOEXE
                     29: 
                     30: !if "$(DEBUG)"=="1"
                     31: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
                     32: LINKFLAGS=$(LINKFLAGS) /COD
                     33: LIBS=mafxcwd libw mlibcew commdlg
                     34: !else
                     35: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
                     36: LINKFLAGS=$(LINKFLAGS)
                     37: LIBS=mafxcw libw mlibcew commdlg
                     38: !endif
                     39: 
                     40: multipad.exe: multipad.res multipad.def $(OBJS)
                     41:        link $(LINKFLAGS) @<<
                     42: $(OBJS),
                     43: multipad,
                     44: NUL,
                     45: $(LIBS),
                     46: multipad.def;
                     47: <<
                     48:        rc -30 /k /t multipad.res
                     49: !else
                     50: 
                     51: !include ..\ntsample.mak
                     52: 
                     53: multipad.exe: multipad.res multipad.def $(OBJS)
                     54:     $(LINK) $(GUIFLAGS) -out:multipad.exe $(OBJS) multipad.res $(MFCLIB) $(GUILIBS)
                     55: 
                     56: !endif
                     57: 
                     58: mpmain.obj : mpmain.cpp $(HDRS)
                     59:        $(CPP) $(CPPFLAGS) /Yc$(PCH) /c mpmain.cpp
                     60: 
                     61: mpmain.obj: $(PCH)
                     62: mpinit.obj: $(PCH)
                     63: mpfile.obj: $(PCH)
                     64: mpfind.obj: $(PCH)
                     65: mpprint.obj: $(PCH)
                     66: bar.obj: $(PCH)
                     67: multipad.res:   multipad.dlg multipad.ico notepad.ico resource.h menu.h
                     68: 
                     69: clean:
                     70:        -erase multipad.exe
                     71:        -erase multipad.res
                     72:        -erase multipad.pch
                     73:        -erase mpmain.obj
                     74:        -erase mpinit.obj
                     75:        -erase mpfile.obj
                     76:        -erase mpfind.obj
                     77:        -erase mpprint.obj
                     78:        -erase bar.obj

unix.superglobalmegacorp.com

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