]> git.saurik.com Git - wxWidgets.git/blob - samples/joytest/makefile.sc
Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;
[wxWidgets.git] / samples / joytest / makefile.sc
1 ; Last change: JS 12 Apr 98 10:45 am
2 # Symantec C++ makefile for joytest 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 joytest.exe: joytest.obj joytest.def joytest.res
29 *$(CC) $(LDFLAGS) -o$@ joytest.obj joytest.def $(LIBS)
30 *$(RC) -k joytest.res
31
32 clean:
33 -del *.obj
34 -del *.exe
35 -del *.res
36 -del *.map
37 -del *.rws