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