]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/ogledit/makefile.dos
theoretically unnecessary but practically required fix for showing the selected filen...
[wxWidgets.git] / contrib / samples / ogl / ogledit / makefile.dos
1 #
2 # File: makefile.dos
3 # Author: Julian Smart
4 # Created: 1995
5 # Updated:
6 # Copyright: (c) 1995, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds OGLEdit example (MSVC++ 1.5).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 WXDIR = $(WXWIN)
15
16 !include $(WXDIR)\src\makemsc.env
17
18 THISDIR = $(WXDIR)\contrib\samples\ogl\ogledit
19 WXLIB = $(WXDIR)\lib\wx.lib
20 OGLLIB = $(WXDIR)\lib\ogl.lib
21
22 LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
23
24 OBJECTS = ogledit.obj doc.obj view.obj palette.obj
25
26 all: ogledit.exe
27
28 wx:
29 cd $(WXDIR)\src\msw
30 nmake -f makefile.dos
31 cd $(THISDIR)
32
33 wxclean:
34 cd $(WXDIR)\src\msw
35 nmake -f makefile.dos clean
36 cd $(THISDIR)
37
38 ogl:
39 cd $(OGLDIR)\src
40 nmake -f makefile.dos FINAL=$(FINAL)
41 cd $(THISDIR)
42
43 prologio:
44 cd $(PROLOGDIR)\src
45 nmake -f makefile.dos FINAL=$(FINAL)
46 cd $(THISDIR)
47
48 ogledit.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(OGLLIB) ogledit.def ogledit.res
49 link $(LINKFLAGS) @<<
50 $(WXDIR)\src\msw\dummy.obj $(OBJECTS),
51 ogledit,
52 NUL,
53 $(LIBS),
54 ogledit.def
55 ;
56 <<
57 rc -30 -K ogledit.res
58
59 ogledit.obj: ogledit.h ogledit.$(SRCSUFF)
60 cl @<<
61 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
62 <<
63
64 view.obj: view.h view.$(SRCSUFF)
65 cl @<<
66 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
67 <<
68
69 doc.obj: doc.h doc.$(SRCSUFF)
70 cl @<<
71 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72 <<
73
74 palette.obj: view.h doc.h ogledit.h palette.$(SRCSUFF) $(DUMMYOBJ)
75 cl @<<
76 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
77 <<
78
79 ogledit.res : ogledit.rc $(WXDIR)\include\msw\wx.rc
80 rc -r /dFAFA_LIB /i$(WXDIR)\include /i$(WXDIR)\contrib\include ogledit
81
82 clean:
83 -erase *.obj
84 -erase *.exe
85 -erase *.res
86 -erase *.map
87 -erase *.sbr
88 -erase *.pdb