Makefile: make first build targe all
Otherwise when you give make command it will do just link
This commit is contained in:
parent
8d3957f3b8
commit
83c97bab78
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -13,6 +13,8 @@ endif
|
||||||
|
|
||||||
OBJS = $(shell (find $(COMPONENTS) -name *.o))
|
OBJS = $(shell (find $(COMPONENTS) -name *.o))
|
||||||
|
|
||||||
|
all: test
|
||||||
|
|
||||||
link: compile
|
link: compile
|
||||||
$(AR) rcs libp2p.a $(OBJS) $(LINKER_FLAGS)
|
$(AR) rcs libp2p.a $(OBJS) $(LINKER_FLAGS)
|
||||||
|
|
||||||
|
@ -24,8 +26,6 @@ test: compile link
|
||||||
|
|
||||||
rebuild: clean all
|
rebuild: clean all
|
||||||
|
|
||||||
all: test
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(foreach dir,$(COMPONENTS), $(MAKE) -C $(dir) clean ;)
|
$(foreach dir,$(COMPONENTS), $(MAKE) -C $(dir) clean ;)
|
||||||
make -C test clean
|
make -C test clean
|
||||||
|
|
Loading…
Reference in a new issue