From: Oliver Schmidt Date: Thu, 2 May 2013 12:06:02 +0000 (+0300) Subject: Placed libraries and the end of the linker cmdline. X-Git-Tag: V2.14~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81f461a15c4286eb1260d92835765a5c93393076;p=cc65 Placed libraries and the end of the linker cmdline. --- diff --git a/src/Makefile b/src/Makefile index 735ddb6d6..bb09a80e3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -76,7 +76,7 @@ define PROG_template $$(eval $$(call OBJS_template,$(1))) ../bin/$(1): $$($(1)_OBJS) ../wrk/common/common.a | ../bin - $$(CC) $$(LDFLAGS) $$(LDLIBS) -o $$@ $$^ + $$(CC) $$(LDFLAGS) -o $$@ $$^ $$(LDLIBS) $(1): ../bin/$(1)