X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82052affa7fae89b90755ef4785a2f8b843d5dad..80d2803f703d1b238f42725504f08266ef02defe:/samples/thread/makefile.wat diff --git a/samples/thread/makefile.wat b/samples/thread/makefile.wat index 3d7f5e0588..d5741fd111 100644 --- a/samples/thread/makefile.wat +++ b/samples/thread/makefile.wat @@ -1,43 +1,11 @@ -# -# Makefile for WATCOM -# -# Created by D.Chubraev, chubraev@iem.ee.ethz.ch -# 8 Nov 1994 -# +# Purpose: makefile for thread example (Watcom) +# Created: 2000-03-15 -WXDIR = ..\.. +WXDIR = $(%WXWIN) -!include $(WXDIR)\src\makewat.env +PROGRAM = thread +OBJECTS = $(PROGRAM).obj -WXLIB = $(WXDIR)\lib -NAME = test -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