]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/samples/ogl/ogledit/makefile.dos
remove unfinished sample for release
[wxWidgets.git] / contrib / samples / ogl / ogledit / makefile.dos
... / ...
CommitLineData
1#
2# File: makefile.dos
3# Author: Julian Smart
4# Created: 1995
5# Updated:
6# Copyright:
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
14WXDIR = $(WXWIN)
15
16!include $(WXDIR)\src\makemsc.env
17
18THISDIR = $(WXDIR)\contrib\samples\ogl\ogledit
19WXLIB = $(WXDIR)\lib\wx.lib
20OGLLIB = $(WXDIR)\lib\ogl.lib
21
22LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
23
24OBJECTS = ogledit.obj doc.obj view.obj palette.obj
25
26all: ogledit.exe
27
28wx:
29 cd $(WXDIR)\src\msw
30 nmake -f makefile.dos
31 cd $(THISDIR)
32
33wxclean:
34 cd $(WXDIR)\src\msw
35 nmake -f makefile.dos clean
36 cd $(THISDIR)
37
38ogl:
39 cd $(OGLDIR)\src
40 nmake -f makefile.dos FINAL=$(FINAL)
41 cd $(THISDIR)
42
43prologio:
44 cd $(PROLOGDIR)\src
45 nmake -f makefile.dos FINAL=$(FINAL)
46 cd $(THISDIR)
47
48ogledit.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(OGLLIB) ogledit.def ogledit.res
49 link $(LINKFLAGS) @<<
50$(WXDIR)\src\msw\dummy.obj $(OBJECTS),
51ogledit,
52NUL,
53$(LIBS),
54ogledit.def
55;
56<<
57 rc -30 -K ogledit.res
58
59ogledit.obj: ogledit.h ogledit.$(SRCSUFF)
60 cl @<<
61$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
62<<
63
64view.obj: view.h view.$(SRCSUFF)
65 cl @<<
66$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
67<<
68
69doc.obj: doc.h doc.$(SRCSUFF)
70 cl @<<
71$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72<<
73
74palette.obj: view.h doc.h ogledit.h palette.$(SRCSUFF) $(DUMMYOBJ)
75 cl @<<
76$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
77<<
78
79ogledit.res : ogledit.rc $(WXDIR)\include\msw\wx.rc
80 rc -r /dFAFA_LIB /i$(WXDIR)\include /i$(WXDIR)\contrib\include ogledit
81
82clean:
83 -erase *.obj
84 -erase *.exe
85 -erase *.res
86 -erase *.map
87 -erase *.sbr
88 -erase *.pdb