mirror of
https://github.com/plasma-umass/coz.git
synced 2024-09-11 04:55:25 +03:00
Merge pull request #71 from petterreinholdtsen/rebuild-libelfin
Adjust deps.mk to rebuild libelfin when needed after 'make distclean'.
This commit is contained in:
commit
fbfe8cc528
6
deps.mk
6
deps.mk
@ -12,10 +12,14 @@ CXXFLAGS += -I$(ROOT)/deps
|
||||
endif
|
||||
|
||||
# Get and build libelfin
|
||||
$(ROOT)/deps/libelfin:
|
||||
$(ROOT)/deps/libelfin: $(ROOT)/deps/libelfin/elf/libelf++.a
|
||||
|
||||
$(ROOT)/deps/libelfin/Makefile:
|
||||
@echo $(LOG_PREFIX) Checking out libelfin $(LOG_SUFFIX)
|
||||
@mkdir -p $(ROOT)/deps
|
||||
@git clone git://github.com/ccurtsinger/libelfin $(ROOT)/deps/libelfin
|
||||
|
||||
$(ROOT)/deps/libelfin/elf/libelf++.a: $(ROOT)/deps/libelfin/Makefile
|
||||
@echo $(LOG_PREFIX) Building libelfin $(LOG_SUFFIX)
|
||||
@cd $(ROOT)/deps/libelfin; make MAKEFLAGS="-j1" CC=$(CC) CXX=$(CXX)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user