X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7556ff05f5cf0a5be1e494a477fd463db4a9236..da98e15760bfcad41a5579e64955caadc2e535f3:/samples/grid/makefile.sc diff --git a/samples/grid/makefile.sc b/samples/grid/makefile.sc index 61968af568..a2562850c9 100644 --- a/samples/grid/makefile.sc +++ b/samples/grid/makefile.sc @@ -1,36 +1,6 @@ -# Symantec C++ makefile - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= TARGET=griddemo - -include $(WXDIR)\src\makesc.env - -griddemo.exe: griddemo.obj $(DEFFILE) griddemo.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k griddemo.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