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