aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBrent Cook <busterbcook@yahoo.com>2005-12-29 03:42:38 +0100
committerKay Sievers <kay.sievers@suse.de>2005-12-29 03:42:38 +0100
commita5e551b996f81709d9f53b2c7434b48ee7f85605 (patch)
treeb6c85910db5d660ac26d719c36abe6f5f53ac122 /Makefile
parent68cfe3b5c851eb4c21e73720049f00ad87fcd5b8 (diff)
downloadudev-a5e551b996f81709d9f53b2c7434b48ee7f85605.tar.gz
fix dependency for make -j2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f5c71a6f..5edc76f8 100644
--- a/Makefile
+++ b/Makefile
@@ -211,7 +211,7 @@ all: $(PROGRAMS) $(MAN_PAGES)
.SUFFIXES:
# build the objects
-%.o: %.c $(GEN_HEADERS)
+%.o: %.c $(HOST_PROGS) $(GEN_HEADERS)
$(QUIET) $(CC) -c $(CFLAGS) $< -o $@
# "Static Pattern Rule" to build all programs
@@ -255,6 +255,7 @@ ccdv: ccdv.c
.SILENT: ccdv
clean:
+ - rm -f $(HOST_PROGS)
- find . \( -not -type d \) -and \( -name '*~' -o -name '*.[oas]' \) -type f -print0 | xargs -0rt rm -f
- find -name "*.gcno" -print0 | xargs -0rt rm -f
- find -name "*.gcda" -print0 | xargs -0rt rm -f