]> git.sur5r.net Git - cc65/blobdiff - libsrc/c16/Makefile
Fixed order of options in call to ld65, which became important after the
[cc65] / libsrc / c16 / Makefile
index 06bea22f92b542650967bf4827e3d09e5732250a..eca4991c4c043037a8f0cd06d3b980a0e1977dba 100644 (file)
@@ -27,16 +27,19 @@ CFLAGS      = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
        @$(AS) -g -o $@ $(AFLAGS) $<
 
 %.emd: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+       @$(LD) -o $@ -t module $^
 
 %.joy: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+       @$(LD) -o $@ -t module $^
+
+%.mou: %.o ../runtime/zeropage.o
+       @$(LD) -o $@ -t module $^
 
 %.ser: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+       @$(LD) -o $@ -t module $^
 
 %.tgi: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+       @$(LD) -o $@ -t module $^
 
 #--------------------------------------------------------------------------
 # Object files