make: Fix deps for non-parasite code

Without it parallel execution fails.

Reported-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Andrew Vagin 2011-09-29 17:02:15 +04:00 committed by Cyrill Gorcunov
parent 34c2f562c3
commit d5d8d920dd

View file

@ -111,7 +111,7 @@ $(PROGRAM): $(OBJS)
$(E) " LINK " $@
$(Q) $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@
$(DEPS):
$(DEPS): $(HEAD-BLOB)
%.d: %.c
$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@