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

1.1     ! root        1: # Makefile : Builds the application.
        !             2: #
        !             3: # Usage:     NMAKE options     (builds the application)
        !             4: #    or:     NMAKE CLEAN       (erases the compiled files)
        !             5: #
        !             6: # Options:   DEBUG=[0|1]       (default is 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: PCH=oclient.h
        !            20: OBJS=oclient.obj mainwnd.obj fileio.obj itemwnd.obj
        !            21: 
        !            22: 
        !            23: all: oclient.exe
        !            24: 
        !            25: !ifndef NTMFC
        !            26: CPPFLAGS=  /DWINVER=0x0300 /AM /W3 /GA /Zp /Yu$(PCH)
        !            27: LINKFLAGS=/NOD /ONERROR:NOEXE
        !            28: 
        !            29: !if "$(DEBUG)"=="1"
        !            30: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Odr /f /Zi
        !            31: LINKFLAGS=$(LINKFLAGS) /COD
        !            32: LIBS=mafxcwd mlibcew libw shell olecli commdlg
        !            33: !else
        !            34: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
        !            35: LINKFLAGS=$(LINKFLAGS)  
        !            36: LIBS=mafxcw mlibcew libw shell olecli commdlg
        !            37: !endif
        !            38: 
        !            39: oclient.exe: $(OBJS) oclient.def oclient.res
        !            40:        link $(LINKFLAGS) @<<
        !            41: $(OBJS),
        !            42: oclient,
        !            43: NUL,
        !            44: $(LIBS), 
        !            45: oclient.def
        !            46: <<
        !            47:        rc -30 -k -t oclient.res
        !            48: 
        !            49: !else
        !            50: 
        !            51: !include ..\ntsample.mak
        !            52: 
        !            53: oclient.exe: $(OBJS) oclient.def oclient.res
        !            54:     $(LINK) $(GUIFLAGS) -out:oclient.exe $(OBJS) oclient.res $(MFCLIB) $(GUILIBS)
        !            55: !endif
        !            56: 
        !            57: 
        !            58: oclient.obj oclient.pch: oclient.cpp oclient.h resource.h mainwnd.h
        !            59:        $(CPP) $(CPPFLAGS) /Yc$(PCH) /c oclient.cpp
        !            60: 
        !            61: oclient.res: oclient.rc resource.h
        !            62: 
        !            63: fileio.obj  : oclient.h mainwnd.h itemwnd.h
        !            64: itemwnd.obj : oclient.h mainwnd.h itemwnd.h
        !            65: mainwnd.obj : oclient.h mainwnd.h itemwnd.h
        !            66: 
        !            67: clean:
        !            68:        -erase oclient.exe 
        !            69:        -erase oclient.res 
        !            70:        -erase oclient.pch
        !            71:        -erase *.obj 

unix.superglobalmegacorp.com

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