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

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