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