X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbf1f0e5cffb8c01696eb26e254857a61f017d70..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/samples/joytest/makefile.wat diff --git a/samples/joytest/makefile.wat b/samples/joytest/makefile.wat index d009dcb6a8..8d1fd19ea3 100644 --- a/samples/joytest/makefile.wat +++ b/samples/joytest/makefile.wat @@ -1,43 +1,11 @@ -# -# Makefile for WATCOM -# -# Created by D.Chubraev, chubraev@iem.ee.ethz.ch -# 8 Nov 1994 -# +# Purpose: makefile for joytest example (Watcom) +# Created: 2000-03-14 -WXDIR = ..\.. +WXDIR = $(%WXWIN) -!include $(WXDIR)\src\makewat.env +PROGRAM = joytest +OBJECTS = $(PROGRAM).obj -WXLIB = $(WXDIR)\lib -NAME = joytest -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 *.rex