From 8d2190a86a3edfbceb23539c313a5df78d1032a3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 18 Jul 2009 05:17:49 +0200 Subject: [PATCH] Have *.o files depend on Makefile, in case we change gcc -O values there. --- example/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/Makefile b/example/Makefile index b117d38e..7944e263 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 $<