diff --git a/samples/calendar/makefile.sc b/samples/calendar/makefile.sc index 551ef29b7f..fb1180676a 100644 --- a/samples/calendar/makefile.sc +++ b/samples/calendar/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for calendar example (Symantec C++) -# Created: 2000-01-03 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=calendar - -include $(WXDIR)\src\makesc.env - -calendar.exe: calendar.obj $(DEFFILE) calendar.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k calendar.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/docview/makefile.sc b/samples/docview/makefile.sc index 250054f91f..8ce6b49d53 100644 --- a/samples/docview/makefile.sc +++ b/samples/docview/makefile.sc @@ -1,38 +1,6 @@ -# Symantec C++ makefile for docview example -# NOTE that peripheral libraries are now dealt in main wxWindows 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) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -OBJECTS=docview.obj view.obj doc.obj - -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -docview.exe: $(OBJECTS) docview.def docview.res - *$(CC) $(LDFLAGS) -o$@ $(OBJECTS) docview.def $(LIBS) - *$(RC) -k docview.res - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=docview +OBJECTS = $(TARGET).obj doc.obj view.obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/dragimag/makefile.sc b/samples/dragimag/makefile.sc index 7a02278dc4..de64a90839 100644 --- a/samples/dragimag/makefile.sc +++ b/samples/dragimag/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for dragimag example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=dragimag - -include $(WXDIR)\src\makesc.env - -dragimag.exe: dragimag.obj $(DEFFILE) dragimag.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k dragimag.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/erase/makefile.sc b/samples/erase/makefile.sc index 031c3eeac6..72c1953e5a 100644 --- a/samples/erase/makefile.sc +++ b/samples/erase/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=erase - -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 diff --git a/samples/event/makefile.sc b/samples/event/makefile.sc index fb0aceb47d..450c1c3895 100644 --- a/samples/event/makefile.sc +++ b/samples/event/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for event example (Symantec C++) -# Created: 2001-01-31 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=event - -include $(WXDIR)\src\makesc.env - -event.exe: event.obj $(DEFFILE) event.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k event.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/exec/makefile.sc b/samples/exec/makefile.sc index e1a3a1a4f6..04ebb1face 100644 --- a/samples/exec/makefile.sc +++ b/samples/exec/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for exec example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=exec - -include $(WXDIR)\src\makesc.env - -exec.exe: exec.obj $(DEFFILE) exec.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k exec.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/grid/makefile.sc b/samples/grid/makefile.sc index 200240cfc9..a2562850c9 100644 --- a/samples/grid/makefile.sc +++ b/samples/grid/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for grid example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) -TARGET=grid - -include $(WXDIR)\src\makesc.env - -grid.exe: grid.obj $(DEFFILE) grid.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k grid.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 - +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=griddemo +OBJECTS= $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/internat/makefile.sc b/samples/internat/makefile.sc index 8709d2ca0f..516a0b574d 100644 --- a/samples/internat/makefile.sc +++ b/samples/internat/makefile.sc @@ -1,35 +1,6 @@ -# Symantec C++ makefile for minimal example -# NOTE that peripheral libraries are now dealt in main wxWindows 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) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -minimal.exe: minimal.obj minimal.def minimal.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=internat +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/joytest/makefile.sc b/samples/joytest/makefile.sc index be3c6ffd92..bcacd48b3a 100644 --- a/samples/joytest/makefile.sc +++ b/samples/joytest/makefile.sc @@ -1,37 +1,7 @@ -# Purpose: makefile for joytest example (Symantec C++) -# Created: 2000-03-14 +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) TARGET=joytest - -include $(WXDIR)\src\makesc.env - -joytest.exe: joytest.obj $(DEFFILE) joytest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k joytest.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 diff --git a/samples/keyboard/makefile.sc b/samples/keyboard/makefile.sc index b85f8d637c..227437be27 100644 --- a/samples/keyboard/makefile.sc +++ b/samples/keyboard/makefile.sc @@ -1,37 +1,6 @@ -; Last change: JS 8 Apr 102 12:33 pm -# Symantec C++ makefile - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= TARGET=keyboard - -include $(WXDIR)\src\makesc.env - -keyboard.exe: keyboard.obj $(DEFFILE) keyboard.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k keyboard.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 diff --git a/samples/layout/makefile.sc b/samples/layout/makefile.sc index 0b28430453..6e67c4ad94 100644 --- a/samples/layout/makefile.sc +++ b/samples/layout/makefile.sc @@ -1,37 +1,6 @@ -# Symantec C++ makefile for layout example -# NOTE that peripheral libraries are now dealt in main wxWindows 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) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -layout.exe: layout.obj layout.def layout.res - *$(CC) $(LDFLAGS) -o$@ layout.obj layout.def $(LIBS) - *$(RC) -k layout.res - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. +TARGET=layout +OBJECTS = $(TARGET).obj +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/mdi/makefile.sc b/samples/mdi/makefile.sc index a90487946a..fd24b217fa 100644 --- a/samples/mdi/makefile.sc +++ b/samples/mdi/makefile.sc @@ -1,36 +1,5 @@ -# Symantec C++ makefile for mdi example -# NOTE that peripheral libraries are now dealt in main wxWindows 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) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -.$(SRCSUFF).obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -mdi.exe: mdi.obj mdi.def mdi.res - *$(CC) $(LDFLAGS) -o$@ mdi.obj mdi.def $(LIBS) - *$(RC) -k mdi.res - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws +# Digital Mars / Symantec C++ makefile +WXDIR = ..\.. +TARGET=mdi +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/minifram/makefile.sc b/samples/minifram/makefile.sc index 2b60356177..c2a8fcbe3c 100644 --- a/samples/minifram/makefile.sc +++ b/samples/minifram/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for minifram example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=minifram - -include $(WXDIR)\src\makesc.env - -minifram.exe: minifram.obj $(DEFFILE) minifram.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k minifram.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.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 diff --git a/samples/nativdlg/makefile.sc b/samples/nativdlg/makefile.sc index 235c8f8bc1..1bee812f82 100644 --- a/samples/nativdlg/makefile.sc +++ b/samples/nativdlg/makefile.sc @@ -1,35 +1,6 @@ -# Symantec C++ makefile for hello example -# NOTE that peripheral libraries are now dealt in main wxWindows makefile. - -WXDIR = $(WXWIN) -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) - -LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib - -.cc.obj: - *$(CC) -c $(CFLAGS) -I$(INCLUDE) $< - -.rc.res: - *$(RC) -r -I$(INCLUDE) $< - -hello.exe: hello.obj hello.def hello.res - *$(CC) $(LDFLAGS) -o$@ hello.obj hello.def $(LIBS) - *$(RC) -k hello.res - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws - +#Digital Mars (was Symantec) C++ makefile +WXDIR = ..\.. +EXTRALIBS= +TARGET=nativdlg +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc diff --git a/samples/notebook/makefile.sc b/samples/notebook/makefile.sc index 3a2b33b872..64584b5005 100644 --- a/samples/notebook/makefile.sc +++ b/samples/notebook/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for notebook example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=notebook - -include $(WXDIR)\src\makesc.env - -notebook.exe: notebook.obj $(DEFFILE) notebook.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k notebook.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/propsize/makefile.sc b/samples/propsize/makefile.sc index 50f7007ba7..a6a28d7a58 100644 --- a/samples/propsize/makefile.sc +++ b/samples/propsize/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for propsize example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=propsize - -include $(WXDIR)\src\makesc.env - -propsize.exe: propsize.obj $(DEFFILE) propsize.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k propsize.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/sashtest/makefile.sc b/samples/sashtest/makefile.sc index 4c48c9e12f..12578da19d 100644 --- a/samples/sashtest/makefile.sc +++ b/samples/sashtest/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for sashtest example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=sashtest - -include $(WXDIR)\src\makesc.env - -sashtest.exe: sashtest.obj $(DEFFILE) sashtest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k sashtest.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/shaped/makefile.sc b/samples/shaped/makefile.sc index c37d85391b..d40079553d 100644 --- a/samples/shaped/makefile.sc +++ b/samples/shaped/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for shaped example (Symantec C++) -# Created: 2000-01-03 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=shaped - -include $(WXDIR)\src\makesc.env - -shaped.exe: shaped.obj $(DEFFILE) shaped.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k shaped.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/splitter/makefile.sc b/samples/splitter/makefile.sc index 6719c1b7cf..4b5b66b06f 100644 --- a/samples/splitter/makefile.sc +++ b/samples/splitter/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for splitter example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=splitter - -include $(WXDIR)\src\makesc.env - -splitter.exe: splitter.obj $(DEFFILE) splitter.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k splitter.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/statbar/makefile.sc b/samples/statbar/makefile.sc index 773fdc1c4b..0f0374c7c0 100644 --- a/samples/statbar/makefile.sc +++ b/samples/statbar/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for statbar example (Symantec C++) -# Created: 2000-02-04 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=statbar - -include $(WXDIR)\src\makesc.env - -statbar.exe: statbar.obj $(DEFFILE) statbar.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k statbar.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/thread/makefile.sc b/samples/thread/makefile.sc index 58539802e0..839478d57d 100644 --- a/samples/thread/makefile.sc +++ b/samples/thread/makefile.sc @@ -1,37 +1,9 @@ # Purpose: makefile for thread example (Symantec C++) # Created: 2000-03-15 -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +WXDIR = ..\.. TARGET=thread - -include $(WXDIR)\src\makesc.env - -thread.exe: thread.obj $(DEFFILE) thread.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k thread.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/toolbar/makefile.sc b/samples/toolbar/makefile.sc index 6de8e6893c..4a1c7b4811 100644 --- a/samples/toolbar/makefile.sc +++ b/samples/toolbar/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for toolbar example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=toolbar - -include $(WXDIR)\src\makesc.env - -toolbar.exe: toolbar.obj $(DEFFILE) toolbar.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k toolbar.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/treectrl/makefile.sc b/samples/treectrl/makefile.sc index 058a4bb27b..a19cdce13d 100644 --- a/samples/treectrl/makefile.sc +++ b/samples/treectrl/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for treetest example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=treetest - -include $(WXDIR)\src\makesc.env - -treetest.exe: treetest.obj $(DEFFILE) treetest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k treetest.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/typetest/makefile.sc b/samples/typetest/makefile.sc index dea8d1a4f3..6f782f2e46 100644 --- a/samples/typetest/makefile.sc +++ b/samples/typetest/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for typetest example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=typetest - -include $(WXDIR)\src\makesc.env - -typetest.exe: typetest.obj $(DEFFILE) typetest.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k typetest.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/validate/makefile.sc b/samples/validate/makefile.sc index 6245a2917d..d64f342ed1 100644 --- a/samples/validate/makefile.sc +++ b/samples/validate/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for validate example (Symantec C++) -# Created: 2000-03-14 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=validate - -include $(WXDIR)\src\makesc.env - -validate.exe: validate.obj $(DEFFILE) validate.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k validate.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc diff --git a/samples/wizard/makefile.sc b/samples/wizard/makefile.sc index 3a0045e8f3..11ec6ae81f 100644 --- a/samples/wizard/makefile.sc +++ b/samples/wizard/makefile.sc @@ -1,37 +1,6 @@ -# Purpose: makefile for wizard example (Symantec C++) -# Created: 2000-03-15 - -WXDIR = $(WXWIN) -WXLIB = $(WXDIR)\lib\wx.lib -INCDIR = $(WXDIR)\include -INCLUDE=$(INCDIR) +#Makefile from wxHatch for Symantec/Digital Mars compiler +WXDIR=..\.. TARGET=wizard - -include $(WXDIR)\src\makesc.env - -wizard.exe: wizard.obj $(DEFFILE) wizard.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - *$(RC) -k wizard.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 +EXTRALIBS = +include $(WXDIR)\src\makeprog.sc