fix dependency for make -j2

This commit is contained in:
Brent Cook 2005-12-29 03:42:38 +01:00 committed by Kay Sievers
parent 68cfe3b5c8
commit a5e551b996

View file

@ -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