]> git.saurik.com Git - wxWidgets.git/blob - utils/ogl/samples/ogledit/makefile.sc
Compile and build fixes for wxGTK and wxMotif
[wxWidgets.git] / utils / ogl / samples / ogledit / makefile.sc
1 # Symantec C++ makefile for docview example
2 # NOTE that peripheral libraries are now dealt in main wxWindows makefile.
3
4 WXDIR = $(WXWIN)
5 include $(WXDIR)\src\makesc.env
6
7 WXLIB = $(WXDIR)\lib\wx.lib
8 INCDIR = $(WXDIR)\include
9 MSWINC = $(INCDIR)\msw
10 BASEINC = $(INCDIR)\base
11
12 INCLUDE=$(BASEINC);$(MSWINC)
13
14 LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
15
16 OBJECTS=docview.obj view.obj doc.obj
17
18 .$(SRCSUFF).obj:
19 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
20
21 .rc.res:
22 *$(RC) -r -I$(INCLUDE) $<
23
24 docview.exe: $(OBJECTS) docview.def docview.res
25 *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) docview.def $(LIBS)
26 *$(RC) -k docview.res
27
28 clean:
29 -del *.obj
30 -del *.exe
31 -del *.res
32 -del *.map
33 -del *.rws