From e93e212d70897db03c6b13aaf17aaaf6318931e7 Mon Sep 17 00:00:00 2001 From: Radu Iliescu Date: Wed, 28 Nov 2018 10:43:33 -0500 Subject: [PATCH] Makefile: link should depend on compile This fixes make all - previously it was doing first link then compile with make 4.1 --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 272a600..ec9a46e 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ OBJS = \ swarm/*.o \ yamux/*.o -link: +link: compile ar rcs libp2p.a $(OBJS) $(LINKER_FLAGS) compile: @@ -41,14 +41,14 @@ compile: cd swarm; make all; cd utils; make all; cd yamux; make all; - + test: compile link cd test; make all; - + rebuild: clean all - + all: test - + clean: cd conn; make clean; cd crypto; make clean;