Makefile: make first build targe all

Otherwise when you give make command it will do just link
master^2^2
Radu Iliescu 2018-12-03 07:24:15 -05:00
parent 8d3957f3b8
commit 83c97bab78
1 changed files with 2 additions and 2 deletions

View File

@ -13,6 +13,8 @@ endif
OBJS = $(shell (find $(COMPONENTS) -name *.o))
all: test
link: compile
$(AR) rcs libp2p.a $(OBJS) $(LINKER_FLAGS)
@ -24,8 +26,6 @@ test: compile link
rebuild: clean all
all: test
clean:
$(foreach dir,$(COMPONENTS), $(MAKE) -C $(dir) clean ;)
make -C test clean