]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/event/makefile.sc
CodeWarrior dislikes #include <> syntax for in-tree headers, prefer ""
[wxWidgets.git] / samples / event / makefile.sc
index fb0aceb47d7b6e3834d003d176497031c7a7a5d6..450c1c38954aac0dbd22a36039f9db02bad32697 100644 (file)
@@ -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