summaryrefslogtreecommitdiff
path: root/zumo/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'zumo/makefile')
-rw-r--r--zumo/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/zumo/makefile b/zumo/makefile
index 1a7ad36..c388a28 100644
--- a/zumo/makefile
+++ b/zumo/makefile
@@ -28,13 +28,13 @@ MAKEFLAGS += -j4
all: $(TARGET).hex
%.o: %.cpp
- $(C++) -c $(CFLAGS) $< -o $@
+ $(C++) $(CFLAGS) -o $@ -c $<
%.o: %.c
- $(CC) -c $(CFLAGS) $< -o $@
+ $(CC) $(CFLAGS) -o $@ -c $<
$(TARGET): $(OBJS)
- $(LD) $^ $(LFLAGS) -o $@
+ $(LD) $(LFLAGS) -o $@ $^
$(TARGET).hex: $(TARGET)
avr-objcopy -R .eeprom -O ihex $< $@