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

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

WeylScal4.out: WeylScal4.m
	rm -rf WeylScal4
	./runmath.sh $^
	grep -q 'Thorn ./WeylScal4 created successfully' WeylScal4.out && \
	for file in $$(ls WeylScal4); do				\
		./copy-if-changed.sh WeylScal4/$$file ../$$file;	\
	done

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

.PHONY: all clean