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)\utils\ogl\samples\ogledit
19 WXLIB = $(WXDIR)\lib\wx.lib
21 OGLDIR = $(WXDIR)\utils\ogl
22 OGLINC = $(OGLDIR)\src
23 OGLLIB = $(OGLDIR)\lib\ogl.lib
25 LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
27 EXTRAFLAGS=/I$(OGLINC)
29 OBJECTS = ogledit.obj doc.obj view.obj palette.obj
40 nmake -f makefile.dos clean
45 nmake -f makefile.dos FINAL=$(FINAL)
50 nmake -f makefile.dos FINAL=$(FINAL)
53 ogledit.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(OGLLIB) ogledit.def ogledit.res
55 $(WXDIR)\src\msw\dummy.obj $(OBJECTS),
64 ogledit.obj: ogledit.h ogledit.$(SRCSUFF)
66 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
69 view.obj: view.h view.$(SRCSUFF)
71 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
74 doc.obj: doc.h doc.$(SRCSUFF)
76 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
79 palette.obj: view.h doc.h ogledit.h palette.$(SRCSUFF) $(DUMMYOBJ)
81 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
84 ogledit.res : ogledit.rc $(WXDIR)\include\msw\wx.rc
85 rc -r /dFAFA_LIB /i$(WXDIR)\contrib\fafa /i$(WXDIR)\include\msw ogledit
97 nmake -f makefile.dos clean
102 nmake -f makefile.dos clean