]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/deprecated/resource/makefile.sc
Rebake for 2.6.2
[wxWidgets.git] / contrib / samples / deprecated / resource / makefile.sc
CommitLineData
820893d0
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