X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbda9e86f0e5ec1184bc16d135bb7205bc99236e..bacd54f604fe87c622d4ab57070759ad6f1791a7:/samples/minimal/makefile.sc diff --git a/samples/minimal/makefile.sc b/samples/minimal/makefile.sc index c55f65c7d7..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 $(DEFFILE) minimal.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k minimal.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