summaryrefslogtreecommitdiff
path: root/math/meschach/files/makefile.test
blob: cdea07dc37fdb3c1189484edb807808a0405a360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: makefile.test,v 1.5 2019/12/20 00:02:06 joerg Exp $

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