]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/toolbar/makefile.sc
Attempting to check in this wretched cursor again. Also added SetAcceleratorTable
[wxWidgets.git] / samples / toolbar / makefile.sc
... / ...
CommitLineData
1# Symantec C++ makefile for the buttonbar library
2
3WXDIR = $(WXWIN)
4!include $(WXDIR)\src\makesc.env
5
6WXLIB = $(WXDIR)\lib\wx.lib
7INCDIR = $(WXDIR)\include
8MSWINC = $(INCDIR)\msw
9BASEINC = $(INCDIR)\base
10
11BUTTNBARDIR = $(WXDIR)\samples\buttnbar
12
13# Default is to output RTF for WinHelp
14WINHELP=-winhelp
15
16CC=sc
17RC=rc
18CFLAGS = -o -ml -W -Dwx_msw
19LDFLAGS = -ml -W
20
21INCLUDE=$(BASEINC);$(MSWINC)
22
23LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
24
25all: test.exe
26
27.$(SRCSUFF).obj:
28 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
29
30.rc.res:
31 *$(RC) -r -I$(INCLUDE) $<
32
33test.exe: test.obj test.def test.res
34 *$(CC) $(LDFLAGS) -o$@ test.obj test.def $(LIBS)
35 *$(RC) -k test.res
36
37clean:
38 -del *.obj
39 -del *.exe
40 -del *.res
41 -del *.map
42