|
|
1.1 root 1: # Makefile : Builds the restool application
2: #
3: # Usage: NMAKE option (build restool)
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
27: !else
28: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
29: LINKFLAGS=$(LINKFLAGS)
30: LIBS=mafxcr mlibce
31: !endif
32:
33: restool.exe: restool.obj
34: link $(LINKFLAGS) restool, restool, NUL, $(LIBS);
35:
36: !else
37:
38: CONSOLE=1
39: !include ..\ntsample.mak
40:
41: restool.exe: restool.obj
42: $(LINK) $(CONFLAGS) -out:restool.exe restool.obj $(MFCLIB) $(CONLIBS)
43:
44: !endif
45: restool.obj: dlgres.h
46:
47: clean:
48: -erase restool.exe
49: -erase restool.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.