mirror of
https://github.com/pfloos/quack
synced 2024-11-05 05:33:50 +01:00
25 lines
397 B
Makefile
25 lines
397 B
Makefile
# Frontend to dune.
|
|
.NOTPARALLEL:
|
|
|
|
TARGETS=quack_input \
|
|
quack_integrals \
|
|
GoDuck
|
|
|
|
.PHONY: default build install uninstall test clean
|
|
|
|
%.exe: build
|
|
dune build $@
|
|
|
|
$(TARGETS): $(patsubst %, %.exe, $(TARGETS))
|
|
for i in $(TARGETS) ; do cp _build/default/$${i}.exe $$i ; done
|
|
|
|
default: $(TARGETS)
|
|
|
|
build:
|
|
dune build
|
|
|
|
clean:
|
|
dune clean
|
|
|
|
|