Add make target for .s files.

This commit is contained in:
Jared Boone
2013-09-20 15:07:42 -07:00
parent 61a8d0f1d6
commit 322dea1884

View File

@ -116,6 +116,10 @@ program: $(BINARY).dfu
@#printf " CC $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(CC) $(CFLAGS) -o $@ -c $<
%.o: %.s Makefile
@#printf " CC $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(CC) $(CFLAGS) -o $@ -c $<
clean:
$(Q)rm -f *.o
$(Q)rm -f *.d