aboutsummaryrefslogtreecommitdiff
path: root/m/Makefile
blob: 18bf4928dcfa2484d0a21d9b4cf1e724bd1d9f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*-Makefile-*-

all: WeylScal4.out
	@echo
	@echo "The Cactus thorns are up to date."
	@echo

WeylScal4.out: WeylScal4.m
	rm -rf WeylScal4
	./runmath.sh $^
	for thorn in WeylScal4; do								  \
		./copy-if-changed.sh $$thorn/configuration.ccl ../../$$thorn/configuration.ccl && \
		./copy-if-changed.sh $$thorn/interface.ccl     ../../$$thorn/interface.ccl     && \
		./copy-if-changed.sh $$thorn/param.ccl         ../../$$thorn/param.ccl         && \
		./copy-if-changed.sh $$thorn/schedule.ccl      ../../$$thorn/schedule.ccl      && \
		./copy-if-changed.sh $$thorn/src               ../../$$thorn/src;		  \
	done

clean:
	rm -rf WeylScal4
	rm -f WeylScal4.out WeylScal4.err

.PHONY: all clean