]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/thread/makefile.sc
Added version test
[wxWidgets.git] / samples / thread / makefile.sc
index 58539802e0d8e2b519833072102a691066ea6cc0..839478d57d02a45b4e7a5f22c075ec0b6e43951f 100644 (file)
@@ -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