diff options
Diffstat (limited to 'include.mk')
-rw-r--r-- | include.mk | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -163,13 +163,13 @@ ifneq ($(MAKECMDGOALS),clean) endif lib-%.o: $(LIB_DIR)/%.c - $(CC) $(CFLAGS) -o $@ -c $< + $(CC) $(CFLAGS) -c $< -o $@ %.o: %.c - $(CC) $(CFLAGS) -o $@ -c $< + $(CC) $(CFLAGS) -c $< -o $@ $(ELFFILE): $(OBJ) $(OBJ_LIB) - $(CC) $(OBJ) $(OBJ_LIB) -o $@ $(LDFLAGS) + $(CC) $(LDFLAGS) $(OBJ) $(OBJ_LIB) -o $@ $(HEXFILE): $(ELFFILE) $(OBJCOPY) -O ihex -R .eeprom -R .fuse -R .lock -R .signature $< $@ |