X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ce1efe123a9b5f7dbb5be4aaf3dd0a21b399f38..c2b83fddb9b1f6ea32ce12051be4c28d742b6d05:/samples/minimal/makefile.sc diff --git a/samples/minimal/makefile.sc b/samples/minimal/makefile.sc index 5f574ba91e..181a939f04 100644 --- a/samples/minimal/makefile.sc +++ b/samples/minimal/makefile.sc @@ -1,36 +1,5 @@ -# Symantec C++ makefile - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +# Digital Mars / Symantec C++ makefile +WXDIR = ..\.. TARGET=minimal - -include $(WXDIR)\src\makesc.env - -minimal.exe: minimal.obj - link $(LDFLAGS) $*, $@, $*, $(LIBS) - - -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