]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/grid/makefile.sc
wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
[wxWidgets.git] / samples / grid / makefile.sc
index 200240cfc9637f5090b845ce8fe1347ae68eca2e..a2562850c90c52d7507fbde55d8c7ad3008cbb43 100644 (file)
@@ -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