X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14d1ccd89decb9d84f394fb2218eddbfdba56baf..afbe906abdf9aa69a56571b8b20b095351dd8f34:/samples/toolbar/makefile.sc?ds=sidebyside diff --git a/samples/toolbar/makefile.sc b/samples/toolbar/makefile.sc index 97e6a2ad93..6de8e6893c 100644 --- a/samples/toolbar/makefile.sc +++ b/samples/toolbar/makefile.sc @@ -1,42 +1,37 @@ -# Symantec C++ makefile for the buttonbar library +# Purpose: makefile for toolbar 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 - -BUTTNBARDIR = $(WXDIR)\samples\buttnbar - -# Default is to output RTF for WinHelp -WINHELP=-winhelp - -CC=sc -RC=rc -CFLAGS = -o -ml -W -Dwx_msw -LDFLAGS = -ml -W - -INCLUDE=$(BASEINC);$(MSWINC) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib +INCLUDE=$(INCDIR) +TARGET=toolbar -all: test.exe +include $(WXDIR)\src\makesc.env -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< +toolbar.exe: toolbar.obj $(DEFFILE) toolbar.res + *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) + *$(RC) -k toolbar.res -.rc.res: - *$(RC) -r -I$(INCLUDE) $< +sc32.def: + echo EXETYPE NT > sc32.def + echo SUBSYSTEM WINDOWS >> sc32.def -test.exe: test.obj test.def test.res - *$(CC) $(LDFLAGS) -o$@ test.obj test.def $(LIBS) - *$(RC) -k test.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