Makefiles: Some fixups
[simavr] / Makefile.common
index 91000cb..e9fabcc 100644 (file)
@@ -65,7 +65,7 @@ endif
                        -Wl,--relax,--gc-sections \
                        -Wl,--undefined=_mmcu,--section-start=.mmcu=0x910000 \
                        -I../include -I../../include \
-                       ${<} -o ${@}
+                       ${^} -o ${@}
        @${AVR}size ${@}|sed '1d'
 
 OBJ = obj