fix redundancies in Makefile

This commit is contained in:
Simon Cruanes 2014-11-18 17:53:45 +01:00
parent 1eb8cc62a0
commit 50b62b4802

View file

@ -11,19 +11,17 @@ NAME=msat
LIB=$(addprefix $(NAME), .cma .cmxa .cmxs)
all:$(LIB) $(TEST)
all: lib test
$(LIB):
lib:
$(COMP) $(FLAGS) $(DIRS) $(LIB)
doc:
$(COMP) $(FLAGS) $(DIRS) $(DOC)
test: $(TEST)
./tests/run
$(TEST): $(LIB)
test:
$(COMP) $(FLAGS) $(DIRS) $(TEST)
./tests/run
bench: $(TEST)
cd bench && $(MAKE)