]> git.saurik.com Git - wxWidgets.git/blame - utils/ogl/samples/ogledit/makefile.dos
Restored the old Dialog Editor files.
[wxWidgets.git] / utils / ogl / samples / ogledit / makefile.dos
CommitLineData
f449ef69
JS
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
14WXDIR = $(WXWIN)
15
16!include $(WXDIR)\src\makemsc.env
17
18THISDIR = $(WXDIR)\utils\ogl\samples\ogledit
19WXLIB = $(WXDIR)\lib\wx.lib
20
21OGLDIR = $(WXDIR)\utils\ogl
22OGLINC = $(OGLDIR)\src
23OGLLIB = $(OGLDIR)\lib\ogl.lib
24
25LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
26
27EXTRAFLAGS=/I$(OGLINC)
28
29OBJECTS = ogledit.obj doc.obj view.obj palette.obj
30
31all: ogledit.exe
32
33wx:
34 cd $(WXDIR)\src\msw
35 nmake -f makefile.dos
36 cd $(THISDIR)
37
38wxclean:
39 cd $(WXDIR)\src\msw
40 nmake -f makefile.dos clean
41 cd $(THISDIR)
42
43ogl:
44 cd $(OGLDIR)\src
45 nmake -f makefile.dos FINAL=$(FINAL)
46 cd $(THISDIR)
47
48prologio:
49 cd $(PROLOGDIR)\src
50 nmake -f makefile.dos FINAL=$(FINAL)
51 cd $(THISDIR)
52
53ogledit.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(OGLLIB) ogledit.def ogledit.res
54 link $(LINKFLAGS) @<<
55$(WXDIR)\src\msw\dummy.obj $(OBJECTS),
56ogledit,
57NUL,
58$(LIBS),
59ogledit.def
60;
61<<
62 rc -30 -K ogledit.res
63
64ogledit.obj: ogledit.h ogledit.$(SRCSUFF)
65 cl @<<
66$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
67<<
68
69view.obj: view.h view.$(SRCSUFF)
70 cl @<<
71$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
72<<
73
74doc.obj: doc.h doc.$(SRCSUFF)
75 cl @<<
76$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
77<<
78
79palette.obj: view.h doc.h ogledit.h palette.$(SRCSUFF) $(DUMMYOBJ)
80 cl @<<
81$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
82<<
83
84ogledit.res : ogledit.rc $(WXDIR)\include\msw\wx.rc
85 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw ogledit
86
87clean:
88 -erase *.obj
89 -erase *.exe
90 -erase *.res
91 -erase *.map
92 -erase *.sbr
93 -erase *.pdb
94
95cleanogl:
96 cd $(OGLDIR)\src
97 nmake -f makefile.dos clean
98 cd $(THISDIR)
99
100cleanall:
101 cd $(OGLDIR)\src
102 nmake -f makefile.dos clean
103 cd $(THISDIR)