Commit 9f7b6189 authored by Kinsbursky Stanislav's avatar Kinsbursky Stanislav Committed by Pavel Emelyanov

make: simplify OBJ on BLOBS dependence

Replace dances with "|" by simple dependence rule both for DEPS and OBJS.
Signed-off-by: 's avatarStanislav Kinsbursky <skinsbursky@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 424a4adb
......@@ -75,11 +75,13 @@ all: $(PROGRAM)
$(E) " CC " $@
$(Q) $(CC) -S $(CFLAGS) -fverbose-asm $< -o $@
$(PROGRAM): $(OBJS) | $(SYS-OBJ) $(PIE-GEN)
$(DEPS) $(OBJS): $(SYS-OBJ) $(PIE-GEN)
$(PROGRAM): $(OBJS)
$(E) " LINK " $@
$(Q) $(CC) $(CFLAGS) $(OBJS) $(LIBS) $(SYS-OBJ) -o $@
%.d: %.c | $(SYS-OBJ) $(PIE-GEN)
%.d: %.c
$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
test-legacy: $(PROGRAM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment