X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..4b04699b670b4ab4632229fa0264d154acd3bec1:/samples/joytest/makefile.sc diff --git a/samples/joytest/makefile.sc b/samples/joytest/makefile.sc index bcdcb11d54..be3c6ffd92 100644 --- a/samples/joytest/makefile.sc +++ b/samples/joytest/makefile.sc @@ -1,37 +1,37 @@ -; Last change: JS 12 Apr 98 10:45 am -# Symantec C++ makefile for joytest example -# NOTE that peripheral libraries are now dealt in main wxWindows makefile. +# Purpose: makefile for joytest example (Symantec C++) +# Created: 2000-03-14 WXDIR = $(WXWIN) -!include $(WXDIR)\src\makesc.env - WXLIB = $(WXDIR)\lib\wx.lib INCDIR = $(WXDIR)\include -MSWINC = $(INCDIR)\msw -BASEINC = $(INCDIR)\base - -CC=sc -RC=rc -CFLAGS = -o -ml -W -Dwx_msw -LDFLAGS = -ml -W +INCLUDE=$(INCDIR) +TARGET=joytest -INCLUDE=$(BASEINC);$(MSWINC) +include $(WXDIR)\src\makesc.env -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib +joytest.exe: joytest.obj $(DEFFILE) joytest.res + *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) + *$(RC) -k joytest.res -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< +sc32.def: + echo EXETYPE NT > sc32.def + echo SUBSYSTEM WINDOWS >> sc32.def -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -joytest.exe: joytest.obj joytest.def joytest.res - *$(CC) $(LDFLAGS) -o$@ joytest.obj joytest.def $(LIBS) - *$(RC) -k joytest.res +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 *.obj -del *.exe -del *.res -del *.map -del *.rws + -del sc32.def + -del sc16.def +