aboutsummaryrefslogtreecommitdiff
path: root/Examples/Makefile
blob: d9834621d132682e683485b7d91704c826e5285d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
thornscripts = $(wildcard *.m)
thorns = ${thornscripts:.m=}

kranc = ../Bin/kranc

all: $(thorns)

$(thorns): % : %.m
	$(kranc) $<
	@if [ -r tests/$@ ]; then ln -sfh ../tests/$@ $@/test; fi

clean:
	rm -rf $(thorns)