|
|
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:
1.1.1.2 ! root 19: !ifdef WIN16MFC
! 20: #!message compiling for WIN16
! 21:
1.1 root 22: CPPFLAGS=/AM /W3 /Zp /D_DOS
23: LINKFLAGS=/NOD /ONERROR:NOEXE
24:
25: !if "$(DEBUG)"=="1"
26: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
27: LINKFLAGS=$(LINKFLAGS) /COD
28: LIBS=mafxcrd mlibce
29: !else
30: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
31: LINKFLAGS=$(LINKFLAGS)
32: LIBS=mafxcr mlibce
33: !endif
34:
35: restool.exe: restool.obj
36: link $(LINKFLAGS) restool, restool, NUL, $(LIBS);
37:
38: !else
39:
40: CONSOLE=1
41: !include ..\ntsample.mak
42:
43: restool.exe: restool.obj
44: $(LINK) $(CONFLAGS) -out:restool.exe restool.obj $(MFCLIB) $(CONLIBS)
45:
46: !endif
47: restool.obj: dlgres.h
48:
49: clean:
50: -erase restool.exe
51: -erase restool.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.