2000-03-14 09:06:41 -05:00
|
|
|
# Purpose: makefile for joytest example (Symantec C++)
|
|
|
|
# Created: 2000-03-14
|
1998-05-20 10:21:00 -04:00
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
WXLIB = $(WXDIR)\lib\wx.lib
|
|
|
|
INCDIR = $(WXDIR)\include
|
2000-03-14 09:06:41 -05:00
|
|
|
INCLUDE=$(INCDIR)
|
|
|
|
TARGET=joytest
|
1998-05-20 10:21:00 -04:00
|
|
|
|
2000-03-14 09:06:41 -05:00
|
|
|
include $(WXDIR)\src\makesc.env
|
1998-05-20 10:21:00 -04:00
|
|
|
|
2000-03-14 09:06:41 -05:00
|
|
|
joytest.exe: joytest.obj $(DEFFILE) joytest.res
|
|
|
|
*$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
|
|
|
|
*$(RC) -k joytest.res
|
1998-05-20 10:21:00 -04:00
|
|
|
|
2000-03-14 09:06:41 -05:00
|
|
|
sc32.def:
|
|
|
|
echo EXETYPE NT > sc32.def
|
|
|
|
echo SUBSYSTEM WINDOWS >> sc32.def
|
1998-05-20 10:21:00 -04:00
|
|
|
|
2000-03-14 09:06:41 -05:00
|
|
|
sc16.def:
|
|
|
|
echo NAME $(TARGET) > sc16.def
|
|
|
|
echo EXETYPE WINDOWS >> sc16.def
|
|
|
|
echo STUB 'WINSTUB.EXE' >> sc16.def
|
|
|
|
echo CODE PRELOAD MOVEABLE DISCARDABLE >> sc16.def
|
|
|
|
echo DATA PRELOAD MOVEABLE MULTIPLE >> sc16.def
|
|
|
|
echo HEAPSIZE 1024 >> sc16.def
|
|
|
|
echo STACKSIZE 8192 >> sc16.def
|
1998-05-20 10:21:00 -04:00
|
|
|
|
|
|
|
clean:
|
2000-03-14 09:06:41 -05:00
|
|
|
-del *.obj
|
1998-05-20 10:21:00 -04:00
|
|
|
-del *.exe
|
|
|
|
-del *.res
|
|
|
|
-del *.map
|
|
|
|
-del *.rws
|
2000-03-14 09:06:41 -05:00
|
|
|
-del sc32.def
|
|
|
|
-del sc16.def
|
|
|
|
|