summaryrefslogtreecommitdiff
path: root/math/meschach/files/makefile.test
blob: df5ebfea33d7321b8beb5a74d8caf311f88a10a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TORTURE= torture sptort ztorture memtort itertort mfuntort iotort

CPPFLAGS+= -I@PREFIX@/include

LDFLAGS+= -Wl,-R@PREFIX@/lib -L@PREFIX@/lib
LIBS= -lmeschach -lm

all: $(TORTURE)

$(TORTURE): $(TORTURE:=.o)
	$(CC) $(CPPFLAGS) $(CFLAGS) $@.o $(LDFLAGS) $(LIBS) -o $@

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