Makefile: link should depend on compile
This fixes make all - previously it was doing first link then compile with make 4.1
This commit is contained in:
parent
b272440954
commit
e93e212d70
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -22,7 +22,7 @@ OBJS = \
|
||||||
swarm/*.o \
|
swarm/*.o \
|
||||||
yamux/*.o
|
yamux/*.o
|
||||||
|
|
||||||
link:
|
link: compile
|
||||||
ar rcs libp2p.a $(OBJS) $(LINKER_FLAGS)
|
ar rcs libp2p.a $(OBJS) $(LINKER_FLAGS)
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
@ -41,14 +41,14 @@ compile:
|
||||||
cd swarm; make all;
|
cd swarm; make all;
|
||||||
cd utils; make all;
|
cd utils; make all;
|
||||||
cd yamux; make all;
|
cd yamux; make all;
|
||||||
|
|
||||||
test: compile link
|
test: compile link
|
||||||
cd test; make all;
|
cd test; make all;
|
||||||
|
|
||||||
rebuild: clean all
|
rebuild: clean all
|
||||||
|
|
||||||
all: test
|
all: test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cd conn; make clean;
|
cd conn; make clean;
|
||||||
cd crypto; make clean;
|
cd crypto; make clean;
|
||||||
|
|
Loading…
Reference in a new issue