|
|
1.1 root 1: # Makefile : Builds the minmdi application
2: #
3: # Usage: NMAKE option (build minmdi)
4: # or: NMAKE clean (erase all compiled files)
5: #
6: # option: DEBUG=[0|1] (DEBUG not defined is equivalent to DEBUG=0)
7: # This is a part of the Microsoft Foundation Classes C++ library.
8: # Copyright (C) 1992 Microsoft Corporation
9: # All rights reserved.
10: #
11: # This source code is only intended as a supplement to the
12: # Microsoft Foundation Classes Reference and Microsoft
13: # QuickHelp documentation provided with the library.
14: # See these sources for detailed information regarding the
15: # Microsoft Foundation Classes product.
16: #
17:
18: !ifndef NTMFC
19: CPPFLAGS= /DWINVER=0x0300 /AS /W3 /Zp /GA /GEs
20: LINKFLAGS=/NOD /ONERROR:NOEXE
21:
22: !if "$(DEBUG)"=="1"
23: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Od /Zi /f
24: LINKFLAGS=$(LINKFLAGS) /COD
25: LIBS=safxcwd libw slibcew
26: !else
27: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
28: LINKFLAGS=$(LINKFLAGS)
29: LIBS=safxcw libw slibcew
30: !endif
31:
32:
33: minmdi.exe: minmdi.obj minmdi.def minmdi.res
34: link $(LINKFLAGS) minmdi, minmdi, NUL, $(LIBS),minmdi.def;
35: rc -30 /t minmdi.res
36: !else
37:
38: !include ..\ntsample.mak
39:
40: minmdi.exe: minmdi.obj minmdi.def minmdi.res
41: $(LINK) $(GUIFLAGS) -out:minmdi.exe minmdi.obj minmdi.res $(MFCLIB) $(GUILIBS)
42: !endif
43:
44: minmdi.obj: minmdi.h resource.h
45: minmdi.res: resource.h frame.ico child.ico about.dlg
46:
47: clean:
48: -erase minmdi.exe
49: -erase minmdi.res
50: -erase minmdi.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.