|
|
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:
1.1.1.2 ! root 21: !ifdef WIN16MFC
! 22: #!message compiling for WIN16
! 23:
1.1 root 24: CPPFLAGS= /DWINVER=0x0300 /AM /W3 /Zp /GA /GEs /G2 /Yu$(PCH)
25: LINKFLAGS=/NOD /ONERROR:NOEXE
26:
27: !if "$(DEBUG)"=="1"
28: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
29: LINKFLAGS=$(LINKFLAGS) /COD
30: LIBS=mafxcwd libw mlibcew commdlg
31: !else
32: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
33: LINKFLAGS=$(LINKFLAGS)
34: LIBS=mafxcw libw mlibcew commdlg
35: !endif
36:
37: chart.exe: chart.obj chartwnd.obj chartdlg.obj chfile.obj dobject.obj \
38: chart.res
39: link $(LINKFLAGS) @<<
40: chart chartwnd chartdlg chfile dobject,
41: chart,
42: NUL,
43: $(LIBS),
44: chart.def
45: <<
46: rc -30 /k /t chart.res
47: !else
48:
49: !include ..\ntsample.mak
50:
51: chart.exe: $(OBJS)
52: $(LINK) $(GUIFLAGS) -out:chart.exe $(OBJS) $(MFCLIB) $(GUILIBS)
53:
54: !endif
55:
56: chart.obj: chart.cpp resource.h $(PCH) dobject.h chartwnd.h
57: $(CPP) $(CPPFLAGS) /Yc$(PCH) /c chart.cpp
58:
59: chartwnd.cpp: resource.h chartwnd.h chartdlg.h dobject.h
60: chartdlg.cpp: resource.h chartwnd.h chartdlg.h dobject.h
61: chfile.cpp: chartwnd.h dobject.h
62: dobject.cpp: resource.h dobject.h
63: chart.res: resource.h entry.dlg about.dlg chart.ico
64:
65: clean:
66: -erase chart.exe
67: -erase chart.pch
68: -erase *.obj
69: -erase chart.res
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.