]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/splitter/makefile.sc
Applied patch [ 892511 ] wxUniversal: fix of segfault in toolbar.cpp
[wxWidgets.git] / samples / splitter / makefile.sc
index 6719c1b7cf5c18dc090633de96ccc28179de9ebe..4b5b66b06f4a92783ba2e6a51b96af2e9585b2d0 100644 (file)
@@ -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