summaryrefslogtreecommitdiff
path: root/math/meschach/files/makefile.test
blob: 73e4ea2ed7c3d33aa535e409c223314ddac043a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LIBS = -L%%PREFIX%%/lib -lmeschach -lm

CFLAGS = -I%%PREFIX%%/include -O2 -ansi

TORTURE = torture sptort ztorture memtort itertort mfuntort iotort

TORTURE_O = $(TORTURE:=.o)

all: $(TORTURE)

$(TORTURE): $(TORTURE_O)
	$(CC) $(CFLAGS) $@.o $(LIBS) -o $@

clean:
	rm -fr *.o *.core iotort.dat torture sptort ztorture \
	memtort itertort mfuntort iotort asx5213a.mat