]> git.saurik.com Git - wxWidgets.git/blame - samples/resource/makefile.sc
Added zip file containing DSW files for samples and demos
[wxWidgets.git] / samples / resource / makefile.sc
CommitLineData
457814b5
JS
1# Symantec C++ makefile for hello example
2# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
3
4WXDIR = $(WXWIN)
5WXLIB = $(WXDIR)\lib\wx.lib
6INCDIR = $(WXDIR)\include
7MSWINC = $(INCDIR)\msw
8BASEINC = $(INCDIR)\base
9
10CC=sc
11RC=rc
12CFLAGS = -o -ml -W -Dwx_msw
13LDFLAGS = -ml -W
14
15INCLUDE=$(BASEINC);$(MSWINC)
16
17LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
18
19.cc.obj:
20 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
21
22.rc.res:
23 *$(RC) -r -I$(INCLUDE) $<
24
25hello.exe: hello.obj hello.def hello.res
26 *$(CC) $(LDFLAGS) -o$@ hello.obj hello.def $(LIBS)
27 *$(RC) -k hello.res
28
29clean:
30 -del *.obj
31 -del *.exe
32 -del *.res
33 -del *.map
34 -del *.rws
35