|
|
1.1 root 1: # Makefile : Builds the templdef application
2: #
3: # Usage: NMAKE options (build templdef)
4: # or: NMAKE clean (erase all compiled files)
5: #
6: # options: 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: !ifndef NTMFC
20: CPPFLAGS= /AM /W3 /Zp /D_DOS
21: LINKFLAGS=/NOD /ONERROR:NOEXE
22:
23: !if "$(DEBUG)"=="1"
24: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
25: LINKFLAGS=$(LINKFLAGS) /COD
26: LIBS=mafxcrd mlibce $(LIBS)
27: !else
28: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
29: LINKFLAGS=$(LINKFLAGS)
30: LIBS=mafxcr mlibce $(LIBS)
31: !endif
32:
33: templdef.exe: templdef.obj
34: link $(LINKFLAGS) templdef, templdef, NUL, $(LIBS);
35: !else
36:
37: CONSOLE=1
38: !include ..\ntsample.mak
39:
40: templdef.exe: templdef.obj
41: $(LINK) $(CONFLAGS) -out:templdef.exe templdef.obj $(MFCLIB) $(CONLIBS)
42:
43: !endif
44:
45: clean:
46: -erase templdef.exe
47: -erase templdef.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.