pkgsrc/math/meschach/files/makefile.test

16 lines
382 B
Text

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