]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dragimag/makefile.sc
compilation fix for gcc (closes bug 996701)
[wxWidgets.git] / samples / dragimag / makefile.sc
index 9f70cf6b36fcaa11c007126af16835fef687d43c..de64a908399d49c0a3df1cf52e7a5c99fe4bbca7 100644 (file)
@@ -1,36 +1,6 @@
-# Symantec C++ makefile
-
-WXDIR = $(WXWIN)
-WXLIB = $(WXDIR)\lib\wx.lib
-INCDIR = $(WXDIR)\include
-INCLUDE=$(INCDIR)
-TARGET=test
-
-include $(WXDIR)\src\makesc.env
-
-test.exe: test.obj $(DEFFILE) test.res
-       *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
-    *$(RC) -k test.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
-
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
+TARGET=dragimag
+OBJECTS = $(TARGET).obj 
+EXTRALIBS =
+include $(WXDIR)\src\makeprog.sc