]> git.sur5r.net Git - cc65/commitdiff
Placed libraries and the end of the linker cmdline.
authorOliver Schmidt <ol.sc@web.de>
Thu, 2 May 2013 12:06:02 +0000 (15:06 +0300)
committerOliver Schmidt <ol.sc@web.de>
Thu, 2 May 2013 12:06:02 +0000 (15:06 +0300)
src/Makefile

index 735ddb6d60e2abd72818c6e394685376b970441e..bb09a80e3dcfb76020047c85480aff30eb5704b4 100644 (file)
@@ -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)