X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14d1ccd89decb9d84f394fb2218eddbfdba56baf..3437f881c4270fc52365b507100f36afe837aee5:/samples/toolbar/makefile.wat diff --git a/samples/toolbar/makefile.wat b/samples/toolbar/makefile.wat index dcae6e26f3..95c26443ed 100644 --- a/samples/toolbar/makefile.wat +++ b/samples/toolbar/makefile.wat @@ -1,49 +1,11 @@ -# -# Makefile for WATCOM -# -# Created by D.Chubraev, chubraev@iem.ee.ethz.ch -# 8 Nov 1994 -# +# Purpose: makefile for toolbar example (Watcom) +# Created: 2000-03-14 -WXDIR = ..\.. +WXDIR = $(%WXWIN) -!include $(WXDIR)\src\makewat.env +PROGRAM = toolbar +OBJECTS = $(PROGRAM).obj -WXLIB = $(WXDIR)\lib -NAME = test -LNK = $(name).lnk -OBJS = $(name).obj -THISDIR = $(WXDIR)\samples\buttnbar +!include $(WXDIR)\src\makeprog.wat -all: $(name).exe - -wx: .SYMBOLIC - cd $(WXDIR)\src\msw - wmake -f makefile.wat all - cd $(THISDIR) - -$(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 *.rex