X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..4b7ded8bad3a45ea4838e6d3f5d1957a134050ec:/samples/minimal/makefile.sc diff --git a/samples/minimal/makefile.sc b/samples/minimal/makefile.sc index 8709d2ca0f..181a939f04 100644 --- a/samples/minimal/makefile.sc +++ b/samples/minimal/makefile.sc @@ -1,35 +1,5 @@ -# Symantec C++ makefile for minimal 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) $< - -minimal.exe: minimal.obj minimal.def minimal.res - *$(CC) $(LDFLAGS) -o$@ $** $(LIBS) - -clean: - -del *.obj - -del *.exe - -del *.res - -del *.map - -del *.rws +# Digital Mars / Symantec C++ makefile +WXDIR = ..\.. +TARGET=minimal +OBJECTS = $(TARGET).obj +include $(WXDIR)\src\makeprog.sc