X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/367e57ec9b921d7523c1ac3e9e3477850aaf3c66..bacd54f604fe87c622d4ab57070759ad6f1791a7:/samples/joytest/makefile.sc diff --git a/samples/joytest/makefile.sc b/samples/joytest/makefile.sc index be3c6ffd92..bcacd48b3a 100644 --- a/samples/joytest/makefile.sc +++ b/samples/joytest/makefile.sc @@ -1,37 +1,7 @@ -# Purpose: makefile for joytest example (Symantec C++) -# Created: 2000-03-14 +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) TARGET=joytest - -include $(WXDIR)\src\makesc.env - -joytest.exe: joytest.obj $(DEFFILE) joytest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k joytest.res - -sc32.def: - echo EXETYPE NT > sc32.def - echo SUBSYSTEM WINDOWS >> sc32.def - -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 - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - -del sc32.def - -del sc16.def - +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc