]> git.saurik.com Git - wxWidgets.git/blob - samples/controls/makefile.sc
Attempting to check in this wretched cursor again. Also added SetAcceleratorTable
[wxWidgets.git] / samples / controls / makefile.sc
1 ; Last change: JS 10 Jul 98 11:33 am
2 # Symantec C++ makefile for controls example
3 # NOTE that peripheral libraries are now dealt in main wxWindows makefile.
4
5 WXDIR = $(WXWIN)
6 !include $(WXDIR)\src\makesc.env
7
8 WXLIB = $(WXDIR)\lib\wx.lib
9 INCDIR = $(WXDIR)\include
10 MSWINC = $(INCDIR)\msw
11 BASEINC = $(INCDIR)\base
12
13 CC=sc
14 RC=rc
15 CFLAGS = -o -ml -W -Dwx_msw
16 LDFLAGS = -ml -W
17
18 INCLUDE=$(BASEINC);$(MSWINC)
19
20 LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
21
22 .$(SRCSUFF).obj:
23 *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
24
25 .rc.res:
26 *$(RC) -r -I$(INCLUDE) $<
27
28 controls.exe: controls.obj controls.def controls.res
29 *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
30
31 clean:
32 -del *.obj
33 -del *.exe
34 -del *.res
35 -del *.map
36 -del *.rws