]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2enh/Makefile
Fixed order of options in call to ld65, which became important after the
[cc65] / libsrc / apple2enh / Makefile
index eaca78064efaa3718bc40fd0c0df22313ef93d67..08872e89c8edef4ca948e65844d08b66ad2749f6 100644 (file)
@@ -29,20 +29,20 @@ CFLAGS      = -Osir -g -T -t $(SYS) --forget-inc-paths -I ../apple2 -I ../../include
 extra/%.o: ../apple2/extra/%.s
        @$(AS) -g -o $@ $(AFLAGS) $<
 
-%.emd: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+%.emd:         %.o ../runtime/zeropage.o
+       @$(LD) -o $@ -t module $^
 
 %.joy: %.o ../runtime/zeropage.o
-       @$(LD) -t module -o $@ $^
+       @$(LD) -o $@ -t module $^
 
 %.mou: %.o ../runtime/zeropage.o
-       @$(LD) -t module -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