Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0ff08c3c authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Makefile simplification.

parent d611e3ac
No related branches found
No related tags found
No related merge requests found
.PHONY: all clean test
# Find Menhir.
ifndef MENHIR
MENHIR := $(shell ../find-menhir.sh)
endif
MENHIRFLAGS := # --infer
MAIN := calc
EXECUTABLE := calc.exe
all:
jbuilder build $(MAIN).exe
jbuilder build $(EXECUTABLE)
clean:
jbuilder clean
......@@ -18,4 +11,4 @@ clean:
test: all
@echo "The following command should print 42:"
echo "(1 + 2 * 10) * 2" | ./$(MAIN).exe
echo "(1 + 2 * 10) * 2" | ./$(EXECUTABLE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment