From 9aa070021cb9da35150dd4134dcb674b575ab9cc Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Wed, 22 May 2013 16:01:07 +0100 Subject: [PATCH] build: fix stray mod to object rule causing full rebuild everytime --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73450a9c..a4b4619e 100644 --- a/Makefile +++ b/Makefile @@ -274,7 +274,7 @@ ${PROG}: check_config $(OBJS) $(ALLDEPS) $(CC) -o $@ $(OBJS) $(CFLAGS) $(LDFLAGS) # Object -${BUILDDIR}/%.o: %.c $(BUILDDIR) +${BUILDDIR}/%.o: %.c @mkdir -p $(dir $@) $(CC) -MD -MP $(CFLAGS) -c -o $@ $<