]> git.saurik.com Git - wxWidgets.git/blame - samples/joytest/makefile.sc
Added sample to the demo for wxJoystick
[wxWidgets.git] / samples / joytest / makefile.sc
CommitLineData
367e57ec
RL
1# Purpose: makefile for joytest example (Symantec C++)
2# Created: 2000-03-14
bbf1f0e5
KB
3
4WXDIR = $(WXWIN)
bbf1f0e5
KB
5WXLIB = $(WXDIR)\lib\wx.lib
6INCDIR = $(WXDIR)\include
367e57ec
RL
7INCLUDE=$(INCDIR)
8TARGET=joytest
bbf1f0e5 9
367e57ec 10include $(WXDIR)\src\makesc.env
bbf1f0e5 11
367e57ec
RL
12joytest.exe: joytest.obj $(DEFFILE) joytest.res
13 *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
14 *$(RC) -k joytest.res
bbf1f0e5 15
367e57ec
RL
16sc32.def:
17 echo EXETYPE NT > sc32.def
18 echo SUBSYSTEM WINDOWS >> sc32.def
bbf1f0e5 19
367e57ec
RL
20sc16.def:
21 echo NAME $(TARGET) > sc16.def
22 echo EXETYPE WINDOWS >> sc16.def
23 echo STUB 'WINSTUB.EXE' >> sc16.def
24 echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def
25 echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def
26 echo HEAPSIZE 1024 >> sc16.def
27 echo STACKSIZE 8192 >> sc16.def
bbf1f0e5
KB
28
29clean:
367e57ec 30 -del *.obj
bbf1f0e5
KB
31 -del *.exe
32 -del *.res
33 -del *.map
34 -del *.rws
367e57ec
RL
35 -del sc32.def
36 -del sc16.def
37