]> git.saurik.com Git - wxWidgets.git/blame - samples/joytest/makefile.sc
tiny fixes
[wxWidgets.git] / samples / joytest / makefile.sc
CommitLineData
bbf1f0e5
KB
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
5WXDIR = $(WXWIN)
6!include $(WXDIR)\src\makesc.env
7
8WXLIB = $(WXDIR)\lib\wx.lib
9INCDIR = $(WXDIR)\include
10MSWINC = $(INCDIR)\msw
11BASEINC = $(INCDIR)\base
12
13CC=sc
14RC=rc
15CFLAGS = -o -ml -W -Dwx_msw
16LDFLAGS = -ml -W
17
18INCLUDE=$(BASEINC);$(MSWINC)
19
20LIBS=$(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
28joytest.exe: joytest.obj joytest.def joytest.res
29 *$(CC) $(LDFLAGS) -o$@ joytest.obj joytest.def $(LIBS)
30 *$(RC) -k joytest.res
31
32clean:
33 -del *.obj
34 -del *.exe
35 -del *.res
36 -del *.map
37 -del *.rws