]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/joytest/makefile.sc
account for the scrollbars in GetViewRect()
[wxWidgets.git] / samples / joytest / makefile.sc
index bcdcb11d549d7e578de058439cf9cbc5d4f976d1..bcacd48b3ac4cf4144029e5d7a041fcf8f7c3ea6 100644 (file)
@@ -1,37 +1,7 @@
-;    Last change:  JS   12 Apr 98   10:45 am
-# Symantec C++ makefile for joytest example
-# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
+#Digital Mars (was Symantec) C++ makefile 
+WXDIR = ..\..
+EXTRALIBS=
 
-WXDIR = $(WXWIN)
-!include $(WXDIR)\src\makesc.env
-
-WXLIB = $(WXDIR)\lib\wx.lib
-INCDIR = $(WXDIR)\include
-MSWINC = $(INCDIR)\msw
-BASEINC = $(INCDIR)\base
-
-CC=sc
-RC=rc
-CFLAGS = -o -ml -W -Dwx_msw
-LDFLAGS = -ml -W
-
-INCLUDE=$(BASEINC);$(MSWINC)
-
-LIBS=$(WXLIB) libw.lib commdlg.lib shell.lib
-
-.$(SRCSUFF).obj:
-       *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
-
-.rc.res:
-       *$(RC) -r -I$(INCLUDE) $<
-
-joytest.exe: joytest.obj joytest.def joytest.res
-       *$(CC) $(LDFLAGS) -o$@ joytest.obj joytest.def $(LIBS)
-       *$(RC) -k joytest.res
-
-clean:
-        -del *.obj
-       -del *.exe
-       -del *.res
-       -del *.map
-       -del *.rws
+TARGET=joytest
+OBJECTS = $(TARGET).obj
+include $(WXDIR)\src\makeprog.sc