mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 11:15:43 -05:00
fix redundancies in Makefile
This commit is contained in:
parent
1eb8cc62a0
commit
50b62b4802
1 changed files with 4 additions and 6 deletions
10
Makefile
10
Makefile
|
|
@ -11,19 +11,17 @@ NAME=msat
|
||||||
|
|
||||||
LIB=$(addprefix $(NAME), .cma .cmxa .cmxs)
|
LIB=$(addprefix $(NAME), .cma .cmxa .cmxs)
|
||||||
|
|
||||||
all:$(LIB) $(TEST)
|
all: lib test
|
||||||
|
|
||||||
$(LIB):
|
lib:
|
||||||
$(COMP) $(FLAGS) $(DIRS) $(LIB)
|
$(COMP) $(FLAGS) $(DIRS) $(LIB)
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
$(COMP) $(FLAGS) $(DIRS) $(DOC)
|
$(COMP) $(FLAGS) $(DIRS) $(DOC)
|
||||||
|
|
||||||
test: $(TEST)
|
test:
|
||||||
./tests/run
|
|
||||||
|
|
||||||
$(TEST): $(LIB)
|
|
||||||
$(COMP) $(FLAGS) $(DIRS) $(TEST)
|
$(COMP) $(FLAGS) $(DIRS) $(TEST)
|
||||||
|
./tests/run
|
||||||
|
|
||||||
bench: $(TEST)
|
bench: $(TEST)
|
||||||
cd bench && $(MAKE)
|
cd bench && $(MAKE)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue