fix #481: ensure liblz4.a dependency for make all
`make all` will trigger several sub-directory makefiles. several of them need `liblz4.a`. When built with `-j#`, there are several concurrent liblz4.a built Make liblz4.a a dependency, which is built once, before moving to sub-directory Makefiles
This commit is contained in:
parent
b5233d3726
commit
6d4e60e365
3
Makefile
3
Makefile
@ -56,6 +56,7 @@ all: allmost manuals
|
||||
allmost: lib lz4 examples
|
||||
|
||||
.PHONY: lib lib-release liblz4.a
|
||||
lib: liblz4.a
|
||||
lib lib-release liblz4.a:
|
||||
@$(MAKE) -C $(LZ4DIR) $@
|
||||
|
||||
@ -67,7 +68,7 @@ lz4 lz4-release :
|
||||
@cp $(PRGDIR)/lz4$(EXT) .
|
||||
|
||||
.PHONY: examples
|
||||
examples:
|
||||
examples: liblz4.a
|
||||
$(MAKE) -C $(EXDIR) all
|
||||
|
||||
.PHONY: manuals
|
||||
|
Loading…
Reference in New Issue
Block a user