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

1.1     ! root        1: # Makefile : Builds the minsvr application
        !             2: #
        !             3: # Usage:     NMAKE option (build MinSvr)
        !             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 = minsvr.obj mindoc.obj minitem.obj mainwnd.obj
        !            20: PCH=minsvr.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: minsvr.exe: minsvr.res minsvr.def $(OBJS)
        !            37:        link $(LINKFLAGS) @<<
        !            38: $(OBJS),
        !            39: minsvr,
        !            40: NUL,
        !            41: $(LIBS),
        !            42: minsvr.def;
        !            43: <<
        !            44:        rc -30 /k /t minsvr.res
        !            45: 
        !            46: !else
        !            47: 
        !            48: !include ..\ntsample.mak
        !            49: 
        !            50: minsvr.exe: minsvr.res minsvr.def $(OBJS)
        !            51:     $(LINK) $(GUIFLAGS) -out:minsvr.exe $(OBJS) minsvr.res $(MFCLIB) $(GUILIBS)
        !            52: 
        !            53: !endif
        !            54: 
        !            55: minsvr.obj : minsvr.cpp minsvr.h
        !            56:        $(CC) $(CPPFLAGS) /Yc$(PCH) /c minsvr.cpp
        !            57: 
        !            58: *.obj:  $(PCH)
        !            59: minsvr.res:  *.ico *.dlg minsvr.h
        !            60: 
        !            61: clean:
        !            62:        -erase minsvr.exe
        !            63:        -erase minsvr.res
        !            64:        -erase minsvr.pch
        !            65:        -erase *.obj

unix.superglobalmegacorp.com

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