X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a2c6ef8d186df490df28a694820a5e8afc4b5e8..6342bd1ab36c1957684c00d408d09fba65d33db6:/src/makeprog.wat diff --git a/src/makeprog.wat b/src/makeprog.wat index c36dce6abf..431ecc5d3f 100644 --- a/src/makeprog.wat +++ b/src/makeprog.wat @@ -5,7 +5,7 @@ WXDIR = $(%WXWIN) WXLIB = $(WXDIR)\lib LNK = $(PROGRAM).lnk -all: $(PROGRAM).exe +all: $(PROGRAM).exe $(EXTRATARGETS) $(PROGRAM).exe : $(OBJECTS) $(PROGRAM).res $(LNK) $(WXLIB)\wx.lib wlink @$(LNK) @@ -20,7 +20,7 @@ $(LNK) : makefile.wat @%append $(LNK) system $(LINKOPTION) @%append $(LNK) $(STACK) @%append $(LNK) name $(PROGRAM).exe - @%append $(LNK) file $(WXLIB)\wx.lib + @for %i in ($(LIBS)) do @%append $(LNK) file %i @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i @for %i in ($(OBJECTS)) do @%append $(LNK) file %i # @%append $(LNK) $(MINDATA) @@ -32,7 +32,7 @@ clean: .SYMBOLIC -erase *.err -erase *.pch -erase *.lib - -erase *.lnk + -erase $(LNK) -erase *.res -erase *.exe -erase *.lbc