|
|
1.1 root 1: # Makefile : Builds the tracer 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: !ifndef NTMFC
20: CPPFLAGS= /DWINVER=0x0300 /AS /W3 /Gsw /Zp
21: LINKFLAGS=/NOD /ONERROR:NOEXE
22:
23: !if "$(DEBUG)"=="1"
24: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Odr /Zi /f
25: LINKFLAGS=$(LINKFLAGS) /COD
26: LIBS=safxcwd libw slibcew
27: !else
28: CPPFLAGS=$(CPPFLAGS) /Oxs
29: LINKFLAGS=$(LINKFLAGS)
30: LIBS=safxcw libw slibcew
31: !endif
32:
33: tracer.exe: tracer.obj tracer.def tracer.res
34: link $(LINKFLAGS) @<<
35: tracer,
36: tracer,
37: NUL,
38: $(LIBS),
39: tracer.def;
40: <<
41: rc -30 /t tracer.res
42: !else
43:
44: !include ..\ntsample.mak
45:
46: tracer.exe: tracer.obj tracer.def tracer.res
47: $(LINK) $(GUIFLAGS) -out:tracer.exe tracer.obj tracer.res $(MFCLIB) $(GUILIBS)
48: !endif
49:
50:
51: tracer.obj : tracer.cpp
52:
53: clean:
54: -erase tracer.exe
55: -erase tracer.obj
56: -erase tracer.res
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.