X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/447daba1ce4295f84185d6ecdaec46ae982a2299..14057bf4dc1e07742d46651a8930ad658fda46dd:/samples/controls/makefile.wat diff --git a/samples/controls/makefile.wat b/samples/controls/makefile.wat index a2ec9cc3a5..db1d6cc5b6 100644 --- a/samples/controls/makefile.wat +++ b/samples/controls/makefile.wat @@ -1,43 +1,15 @@ # # Makefile for WATCOM # -# Created by D.Chubraev, chubraev@iem.ee.ethz.ch -# 8 Nov 1994 +# Created by Julian Smart, January 1999 +# # -WXDIR = ..\.. +WXDIR = $(%WXWIN) -!include $(WXDIR)\src\makewat.env +PROGRAM = controls +OBJECTS = $(PROGRAM).obj -WXLIB = $(WXDIR)\lib -NAME = controls -LNK = $(name).lnk -OBJS = $(name).obj +!include $(WXDIR)\src\makeprog.wat -all: $(name).exe - -$(name).exe : $(OBJS) $(name).res $(LNK) $(WXLIB)\wx$(LEVEL).lib - wlink @$(LNK) - $(BINDCOMMAND) $(name).res - -$(name).res : $(name).rc $(WXDIR)\include\msw\wx.rc - $(RC) $(RESFLAGS1) $(name).rc - -$(LNK) : makefile.wat - %create $(LNK) - @%append $(LNK) debug all - @%append $(LNK) system $(LINKOPTION) - @%append $(LNK) $(MINDATA) - @%append $(LNK) $(MAXDATA) - @%append $(LNK) $(STACK) - @%append $(LNK) name $(name) - @%append $(LNK) file $(WXLIB)\wx$(LEVEL).lib - @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i - @for %i in ($(OBJS)) do @%append $(LNK) file %i - -thing: .SYMBOLIC - echo $(WATLIBDIR) - -clean: .SYMBOLIC - -erase *.obj *.bak *.err *.pch *.lib *.lnk *.res *.exe