6 # Copyright: (c) 1995, AIAI, University of Edinburgh
10 # Makefile : Builds OGLEdit example (MSVC++ 1.5).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
16 !include $(WXDIR)\src\makemsc.env
18 THISDIR = $(WXDIR)\contrib\samples\ogl\ogledit
19 WXLIB = $(WXDIR)\lib\wx.lib
20 OGLLIB = $(WXDIR)\lib\ogl.lib
22 LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
24 OBJECTS = ogledit.obj doc.obj view.obj palette.obj
35 nmake -f makefile.dos clean
40 nmake -f makefile.dos FINAL=$(FINAL)
45 nmake -f makefile.dos FINAL=$(FINAL)
48 ogledit.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(OGLLIB) ogledit.def ogledit.res
50 $(WXDIR)\src\msw\dummy.obj $(OBJECTS),
59 ogledit.obj: ogledit.h ogledit.$(SRCSUFF)
61 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
64 view.obj: view.h view.$(SRCSUFF)
66 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
69 doc.obj: doc.h doc.$(SRCSUFF)
71 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
74 palette.obj: view.h doc.h ogledit.h palette.$(SRCSUFF) $(DUMMYOBJ)
76 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
79 ogledit.res : ogledit.rc $(WXDIR)\include\msw\wx.rc
80 rc -r /dFAFA_LIB /i$(WXDIR)\include /i$(WXDIR)\contrib\include ogledit