|
|
1.1 root 1: # Makefile : Builds the 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:
19: PCH=bibref.h
20: BIBREF_OBJS = bibref.obj bibsvr.obj bibdoc.obj bibitem.obj mainwnd.obj
21:
22: all: bibref.exe
23:
1.1.1.2 ! root 24: !ifdef WIN16MFC
! 25: #!message compiling for WIN16
! 26:
1.1 root 27: CPPFLAGS= /DWINVER=0x0300 /AM /W3 /Zp /GA /G2 /Yu$(PCH)
28: LINKFLAGS=/NOD /ONERROR:NOEXE
29:
30: !if "$(DEBUG)"=="1"
31: CPPFLAGS=/D_DEBUG $(CPPFLAGS) /Odr /f /Zi
32: LIBS=mafxcwd libw mlibcew olesvr shell
33: LINKFLAGS=$(LINKFLAGS) /COD
34: !else
35: CPPFLAGS=$(CPPFLAGS) /Oselg /Gs
36: LINKFLAGS=$(LINKFLAGS)
37: LIBS=mafxcw libw mlibcew olesvr shell
38: !endif
39:
40: bibref.exe: $(BIBREF_OBJS) bibref.def bibref.res
41: link $(LINKFLAGS) @<<
42: $(BIBREF_OBJS),
43: bibref,
44: NUL,
45: $(LIBS),
46: bibref.def;
47: <<
48: rc -30 /k /t bibref.res
49:
50: !else
51:
52: !include ..\ntsample.mak
53:
54: bibref.exe: $(BIBREF_OBJS) bibref.def bibref.res
55: $(LINK) $(GUIFLAGS) -out:bibref.exe $(BIBREF_OBJS) bibref.res $(MFCLIB) $(GUILIBS)
56:
57: !endif
58:
59:
60: bibref.pch bibref.obj: bibref.cpp bibref.h resource.h mainwnd.h bibsvr.h
61: $(CPP) $(CPPFLAGS) /Yc$(PCH) /c bibref.cpp
62:
63:
64: bibsvr.obj : bibref.h bibsvr.h bibdoc.h mainwnd.h
65: bibdoc.obj : bibref.h bibdoc.h bibitem.h
66: bibitem.obj : bibref.h bibitem.h bibdoc.h
67: mainwnd.obj : bibref.h mainwnd.h bibdoc.h
68:
69: bibref.res: resource.h bibref.ico about.dlg
70:
71: clean:
72: -erase bibref.exe
73: -erase bibref.res
74: -erase bibref.pch
75: -erase *.obj
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.