X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce3ed50dbe32d118321082db84c3a9abb047d5b7..0147a7c1409829913d5cdfc29d3d1588f29c64cb:/src/makeprog.wat diff --git a/src/makeprog.wat b/src/makeprog.wat index 7814ef4947..99b984842e 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,9 +20,9 @@ $(LNK) : makefile.wat @%append $(LNK) system $(LINKOPTION) @%append $(LNK) $(STACK) @%append $(LNK) name $(PROGRAM).exe - @%append $(LNK) file $(WXLIB)\wx.lib - @for %i in ($(EXTRALIBS)) do @%append $(LNK) file %i @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)