summaryrefslogtreecommitdiff
path: root/math/meschach/files/makefile.test
blob: 2a9924ccb95d2ed0595b907650fc142354263b2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LIBS = -Wl,-R@PREFIX@/lib -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