mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
make: cleanup deps files usage
Objects does not depend on dep files. Dep files provide rules to build object files. Thus we need to include dep files. This also leads make to rebuild dep files (if required) before an other targets. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
parent
b8f57e0b35
commit
d1df3f60f9
3
Makefile
3
Makefile
@ -111,7 +111,6 @@ $(HEAD-BLOB-GEN): $(HEAD-BIN) $(DEPS-BLOB)
|
||||
$(HEAD-BIN) > parasite-blob.h
|
||||
$(Q) sync
|
||||
|
||||
$(OBJS): $(DEPS) $(HEAD-BLOB-GEN)
|
||||
%.o: %.c
|
||||
$(E) " CC " $@
|
||||
$(Q) $(CC) -c $(CFLAGS) $< -o $@
|
||||
@ -163,3 +162,5 @@ cscope:
|
||||
$(Q) $(FIND) . -name '*.[hcS]' -print > cscope.files
|
||||
$(Q) $(CSCOPE) -bkqu
|
||||
.PHONY: cscope
|
||||
|
||||
-include $(DEPS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user