|
|
1.1 root 1: # Makefile : Builds the Showfont application
2: #
3: # Usage: NMAKE option (build Showfont)
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: PCH=showfont.h
20: OBJS= showfont.obj mainwnd.obj drawing.obj dialogs.obj cfont.obj
21:
1.1.1.2 ! root 22: !ifdef WIN16MFC
! 23: #!message compiling for WIN16
! 24:
1.1 root 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
32: !else
33: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
34: LINKFLAGS=$(LINKFLAGS)
35: LIBS=mafxcw libw mlibcew
36: !endif
37:
38:
39: showfont.exe: showfont.obj mainwnd.obj drawing.obj dialogs.obj cfont.obj \
40: showfont.def showfont.res
41: link $(LINKFLAGS) @<<
42: showfont mainwnd drawing dialogs cfont,
43: showfont,
44: NUL,
45: $(LIBS),
46: showfont.def;
47: <<
48: rc -30 /k /t showfont.res
49:
50: !else
51:
52: !include ..\ntsample.mak
53:
54: showfont.exe: showfont.obj mainwnd.obj drawing.obj dialogs.obj cfont.obj \
55: showfont.def showfont.res
56: $(LINK) $(GUIFLAGS) -out:showfont.exe $(OBJS) showfont.res $(MFCLIB) $(GUILIBS)
57:
58: !endif
59:
60: showfont.obj: showfont.h mainwnd.h
61: $(CPP) $(CPPFLAGS) /Yc$(PCH) /c showfont.cpp
62:
63: mainwnd.obj: showfont.h mainwnd.h
64: drawing.obj: showfont.h mainwnd.h
65: dialogs.obj: showfont.h mainwnd.h
66: cfont.obj: showfont.h
67:
68: showfont.h: resource.h
69:
70: showfont.res: resource.h about.dlg cfont.dlg showfont.ico
71:
72: clean:
73: -erase showfont.exe
74: -erase showfont.pch
75: -erase showfont.res
76: -erase *.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.