aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--external/pflash/rules.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/external/pflash/rules.mk b/external/pflash/rules.mk
index 9dff002..3ee82b5 100644
--- a/external/pflash/rules.mk
+++ b/external/pflash/rules.mk
@@ -37,17 +37,17 @@ version.c: .version
echo "const char version[] = \"$(PFLASH_VERSION)\";" ;\
fi) > $@
-%.o : %.c
+%.o : %.c | links
$(Q_CC)$(CC) $(CFLAGS) -c $< -o $@
$(LIBFLASH_SRC): | links
$(CCAN_SRC): | links
-$(LIBFLASH_OBJS): libflash-%.o : libflash/%.c
+$(LIBFLASH_OBJS): libflash-%.o : libflash/%.c | links
$(Q_CC)$(CC) $(CFLAGS) -c $< -o $@
-$(CCAN_OBJS): ccan-list-%.o: ccan/list/%.c
+$(CCAN_OBJS): ccan-list-%.o: ccan/list/%.c | links
$(Q_CC)$(CC) $(CFLAGS) -c $< -o $@
$(EXE): $(OBJS)