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

1.1     ! root        1: # Makefile : Builds the Chart application in medium model.
        !             2: #
        !             3: # This is a part of the Microsoft Foundation Classes C++ library.
        !             4: # Copyright (C) 1992 Microsoft Corporation
        !             5: # All rights reserved.
        !             6: #
        !             7: # This source code is only intended as a supplement to the
        !             8: # Microsoft Foundation Classes Reference and Microsoft
        !             9: # QuickHelp documentation provided with the library.
        !            10: # See these sources for detailed information regarding the
        !            11: # Microsoft Foundation Classes product.
        !            12: #
        !            13: # Usage:     NMAKE        (build chart application)
        !            14: #    or:     NMAKE clean  (erase all compiled files)
        !            15: # option:    DEBUG=[0|1]  (DEBUG not defined is equivalent to DEBUG=0)
        !            16: 
        !            17: 
        !            18: PCH=chart.h
        !            19: OBJS= chart.obj chartwnd.obj chartdlg.obj chfile.obj dobject.obj chart.res
        !            20: 
        !            21: !ifndef NTMFC
        !            22: CPPFLAGS=  /DWINVER=0x0300 /AM /W3 /Zp /GA /GEs /G2 /Yu$(PCH) 
        !            23: LINKFLAGS=/NOD /ONERROR:NOEXE
        !            24: 
        !            25: !if "$(DEBUG)"=="1"
        !            26: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
        !            27: LINKFLAGS=$(LINKFLAGS) /COD
        !            28: LIBS=mafxcwd libw mlibcew commdlg
        !            29: !else
        !            30: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
        !            31: LINKFLAGS=$(LINKFLAGS)  
        !            32: LIBS=mafxcw libw mlibcew commdlg
        !            33: !endif
        !            34: 
        !            35: chart.exe: chart.obj chartwnd.obj chartdlg.obj chfile.obj dobject.obj \
        !            36:                   chart.res
        !            37:           link $(LINKFLAGS) @<<
        !            38: chart chartwnd chartdlg chfile dobject,
        !            39: chart,
        !            40: NUL,
        !            41: $(LIBS),
        !            42: chart.def
        !            43: <<
        !            44:           rc -30 /k /t chart.res
        !            45: !else
        !            46: 
        !            47: !include ..\ntsample.mak
        !            48: 
        !            49: chart.exe:  $(OBJS)
        !            50:     $(LINK) $(GUIFLAGS) -out:chart.exe $(OBJS) $(MFCLIB) $(GUILIBS)
        !            51:        
        !            52: !endif
        !            53: 
        !            54: chart.obj:      chart.cpp resource.h $(PCH) dobject.h chartwnd.h
        !            55:        $(CPP) $(CPPFLAGS) /Yc$(PCH) /c chart.cpp
        !            56: 
        !            57: chartwnd.cpp:   resource.h chartwnd.h chartdlg.h dobject.h
        !            58: chartdlg.cpp:   resource.h chartwnd.h chartdlg.h dobject.h
        !            59: chfile.cpp:     chartwnd.h dobject.h
        !            60: dobject.cpp:    resource.h dobject.h
        !            61: chart.res:      resource.h entry.dlg about.dlg chart.ico
        !            62: 
        !            63: clean:
        !            64:        -erase chart.exe
        !            65:        -erase chart.pch
        !            66:        -erase *.obj
        !            67:        -erase chart.res

unix.superglobalmegacorp.com

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