]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/makefile.sc
Fixed the code to actually work.
[wxWidgets.git] / samples / dialogs / makefile.sc
index 428af8452c028b5e892cc8f6a79d007b22d603f8..d8dd828609bf7c8b4333054cbd97b152d38b4337 100644 (file)
@@ -1,35 +1,6 @@
-# Symantec C++ makefile for dialogs example
-# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
-
-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) $<
-
-dialogs.exe: dialogs.obj dialogs.def dialogs.res
-       *$(CC) $(LDFLAGS) -o$@ $** $(LIBS)
-
-clean:
-        -del *.obj
-       -del *.exe
-       -del *.res
-       -del *.map
-       -del *.rws
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
+TARGET=dialogs
+OBJECTS = $(TARGET).obj 
+EXTRALIBS =
+include $(WXDIR)\src\makeprog.sc