add objective C rules

This commit is contained in:
Dave Murphy
2009-05-01 02:13:22 +00:00
parent 3b6e224ab9
commit c860d09c98

View File

@@ -32,6 +32,11 @@ export OBJCOPY := $(PREFIX)objcopy
@echo $(notdir $<)
@$(CC) -MMD -MP -MF $(DEPSDIR)/$*.d $(CFLAGS) -c $< -o $@
#---------------------------------------------------------------------------------
%.o: %.m
@echo $(notdir $<)
@$(CC) -MMD -MP -MF $(DEPSDIR)/$*.d $(OBJCFLAGS) -c $< -o $@
#---------------------------------------------------------------------------------
%.o: %.s
@echo $(notdir $<)