aboutsummaryrefslogtreecommitdiff
path: root/Examples/Makefile
blob: 191b0f2d1fa42cd7e7787d273e475776ae308d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
thornscripts = $(wildcard *.m)

# thorns = ${thornscripts:.m=}

thorns = $(shell cat make.thorns)

kranc = ../Bin/kranc

all: $(thorns)

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

clean:
	rm -rf $(thorns)