]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/resource/makefile.sc
quick fix for Unix build (upper cased builtin, this should be done in bakefiles,...
[wxWidgets.git] / samples / resource / makefile.sc
index 235c8f8bc1366dcda39f8f6b9b96f455c51901f9..38b713e7a3daa188633e5f1e47e46abd9a81b8dd 100644 (file)
@@ -1,35 +1,4 @@
-# Symantec C++ makefile for hello example
-# NOTE that peripheral libraries are now dealt in main wxWindows makefile.
-
+#Digital Mars (was Symantec) C++ makefile 
 WXDIR = $(WXWIN)
-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
-
-.cc.obj:
-       *$(CC) -c $(CFLAGS) -I$(INCLUDE) $<
-
-.rc.res:
-       *$(RC) -r -I$(INCLUDE) $<
-
-hello.exe: hello.obj hello.def hello.res
-       *$(CC) $(LDFLAGS) -o$@ hello.obj hello.def $(LIBS)
-        *$(RC) -k hello.res
-
-clean:
-        -del *.obj
-       -del *.exe
-       -del *.res
-       -del *.map
-       -del *.rws
-
+EXTRALIBS=
+include $(WXDIR)\src\makeprog.sc