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