]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/layout/makefile.sc
Unix compilation fixes after last commit
[wxWidgets.git] / samples / layout / makefile.sc
index 0b2843045305076c9e87a57dfdbbc576b5dc165f..6e67c4ad940c9d71f130128a4fa1c69ba4faff8e 100644 (file)
@@ -1,37 +1,6 @@
-# Symantec C++ makefile for layout 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) $<
-
-layout.exe: layout.obj layout.def layout.res
-       *$(CC) $(LDFLAGS) -o$@ layout.obj layout.def $(LIBS)
-        *$(RC) -k layout.res
-
-clean:
-        -del *.obj
-       -del *.exe
-       -del *.res
-       -del *.map
-       -del *.rws
-
+#Makefile from wxHatch for Symantec/Digital Mars compiler 
+WXDIR=..\..
+TARGET=layout
+OBJECTS = $(TARGET).obj 
+EXTRALIBS =
+include $(WXDIR)\src\makeprog.sc