2000-03-14 14:06:41 +00:00
|
|
|
# Purpose: makefile for joytest example (Symantec C++)
|
|
|
|
# Created: 2000-03-14
|
1998-05-20 14:21:00 +00:00
|
|
|
|
|
|
|
WXDIR = $(WXWIN)
|
|
|
|
WXLIB = $(WXDIR)\lib\wx.lib
|
|
|
|
INCDIR = $(WXDIR)\include
|
2000-03-14 14:06:41 +00:00
|
|
|
INCLUDE=$(INCDIR)
|
|
|
|
TARGET=joytest
|
1998-05-20 14:21:00 +00:00
|
|
|
|
2000-03-14 14:06:41 +00:00
|
|
|
include $(WXDIR)\src\makesc.env
|
1998-05-20 14:21:00 +00:00
|
|
|
|
2000-03-14 14:06:41 +00:00
|
|
|
joytest.exe: joytest.obj $(DEFFILE) joytest.res
|
|
|
|
*$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
|
|
|
|
*$(RC) -k joytest.res
|
1998-05-20 14:21:00 +00:00
|
|
|
|
2000-03-14 14:06:41 +00:00
|
|
|
sc32.def:
|
|
|
|
echo EXETYPE NT > sc32.def
|
|
|
|
echo SUBSYSTEM WINDOWS >> sc32.def
|
1998-05-20 14:21:00 +00:00
|
|
|
|
2000-03-14 14:06:41 +00: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 14:21:00 +00:00
|
|
|
|
|
|
|
clean:
|
2000-03-14 14:06:41 +00:00
|
|
|
-del *.obj
|
1998-05-20 14:21:00 +00:00
|
|
|
-del *.exe
|
|
|
|
-del *.res
|
|
|
|
-del *.map
|
|
|
|
-del *.rws
|
2000-03-14 14:06:41 +00:00
|
|
|
-del sc32.def
|
|
|
|
-del sc16.def
|
|
|
|
|