From: Václav Slavík Date: Thu, 17 Jan 2002 23:42:12 +0000 (+0000) Subject: Watcom build system for wxMGL X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d2de0757b5457389585af06ad38c579c0a77e9e5 Watcom build system for wxMGL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mgl/makeprog.wat b/src/mgl/makeprog.wat new file mode 100644 index 0000000000..46a2427d3d --- /dev/null +++ b/src/mgl/makeprog.wat @@ -0,0 +1,35 @@ +WXDIR = $(%WXWIN) + +!include $(WXDIR)\src\mgl\makewat.env + +WXLIB = $(WXDIR)\lib +LNK = $(PROGRAM).lnk + +all: $(PROGRAM).exe $(EXTRATARGETS) + +$(PROGRAM).exe : $(OBJECTS) $(LNK) $(WXLIB)\wx.lib + wlink @$(LNK) + +$(LNK) : makefile.wat + %create $(LNK) + @%append $(LNK) debug all + @%append $(LNK) system $(LINKOPTION) + @%append $(LNK) $(STACK) + @%append $(LNK) name $(PROGRAM).exe + @for %i in ($(OBJECTS)) do @%append $(LNK) file %i + @for %i in ($(LIBS)) do @%append $(LNK) lib %i + @for %i in ($(EXTRALIBS)) do @%append $(LNK) lib %i +# @%append $(LNK) $(MINDATA) +# @%append $(LNK) $(MAXDATA) + +clean: .SYMBOLIC + -erase *.obj + -erase *.bak + -erase *.err + -erase *.pch + -erase *.lib + -erase $(LNK) + -erase *.res + -erase *.exe + -erase *.lbc +