X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..761df41e86ceeed56d32c038a6c9f88554d4f47a:/samples/minimal/makefile.sc diff --git a/samples/minimal/makefile.sc b/samples/minimal/makefile.sc index 8709d2ca0f..c55f65c7d7 100644 --- a/samples/minimal/makefile.sc +++ b/samples/minimal/makefile.sc @@ -1,35 +1,36 @@ -# Symantec C++ makefile for minimal example -# NOTE that peripheral libraries are now dealt in main wxWindows makefile. +# Symantec C++ makefile 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=$(BASEINC);$(MSWINC) +INCLUDE=$(INCDIR) +TARGET=minimal -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib +include $(WXDIR)\src\makesc.env -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< +minimal.exe: minimal.obj $(DEFFILE) minimal.res + *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) + *$(RC) -k minimal.res -.rc.res: - *$(RC) -r -I$(INCLUDE) $< +sc32.def: + echo EXETYPE NT > sc32.def + echo SUBSYSTEM WINDOWS >> sc32.def -minimal.exe: minimal.obj minimal.def minimal.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) +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 +