]> git.saurik.com Git - wxWidgets.git/blame - samples/docview/makefile.sc
1. fatal typo in colour copying in wxStyleInfo ctor fixed
[wxWidgets.git] / samples / docview / makefile.sc
CommitLineData
457814b5
JS
1# Symantec C++ makefile for docview example
2# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
3
4WXDIR = $(WXWIN)
5!include $(WXDIR)\src\makesc.env
6
7WXLIB = $(WXDIR)\lib\wx.lib
8INCDIR = $(WXDIR)\include
9MSWINC = $(INCDIR)\msw
10BASEINC = $(INCDIR)\base
11
12CC=sc
13RC=rc
14CFLAGS = -o -ml -W -Dwx_msw
15LDFLAGS = -ml -W
16
17INCLUDE=$(BASEINC);$(MSWINC)
18
19LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
20
21OBJECTS=docview.obj view.obj doc.obj
22
23.$(SRCSUFF).obj:
24 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
25
26.rc.res:
27 *$(RC) -r -I$(INCLUDE) $<
28
29docview.exe: $(OBJECTS) docview.def docview.res
30 *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) docview.def $(LIBS)
31 *$(RC) -k docview.res
32
33clean:
34 -del *.obj
35 -del *.exe
36 -del *.res
37 -del *.map
38 -del *.rws