aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorUwe Hermann2009-07-18 05:17:49 +0200
committerUwe Hermann2009-07-18 05:17:49 +0200
commit8d2190a86a3edfbceb23539c313a5df78d1032a3 (patch)
tree2ce3dda032cdffb9477d051dc92fcefbb46e9a5f /example
parent10890b3f159995bcf28a88816c6ec83d04e7c89f (diff)
Have *.o files depend on Makefile, in case we change gcc -O values there.
Diffstat (limited to 'example')
-rw-r--r--example/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/Makefile b/example/Makefile
index b117d38..7944e26 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -53,7 +53,7 @@ $(BINARY): $(OBJS) $(BINARY).ld
@printf " LD $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(LD) $(LDFLAGS) -o $(BINARY) $(OBJS) -lopenstm32
-%.o: %.c
+%.o: %.c Makefile
@printf " CC $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(CC) $(CFLAGS) -o $@ -c $<