1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
#
# adapted from Makefile for Meschach
#
# Copyright (C) David Stewart & Zbigniew Leyk 1993
# Drew Parsons 2021
CC ?= gcc
LIBS = -lm -lmeschach
CFLAGS = -std=gnu17 -O3 -I/usr/include/meschach
.c.o:
$(CC) -c $(CFLAGS) $<
clean:
/bin/rm -f *.o core asx5213a.mat iotort.dat
/bin/rm -f torture sptort ztorture memtort itertort mfuntort iotort
alltorture: torture sptort ztorture memtort itertort mfuntort iotort
torture:torture.o
$(CC) $(CFLAGS) $(DEFS) -o torture torture.o $(LIBS)
sptort:sptort.o
$(CC) $(CFLAGS) $(DEFS) -o sptort sptort.o $(LIBS)
memtort: memtort.o
$(CC) $(CFLAGS) $(DEFS) -o memtort memtort.o $(LIBS)
ztorture:ztorture.o
$(CC) $(CFLAGS) $(DEFS) -o ztorture ztorture.o $(LIBS)
itertort: itertort.o
$(CC) $(CFLAGS) $(DEFS) -o itertort itertort.o $(LIBS)
iotort: iotort.o
$(CC) $(CFLAGS) $(DEFS) -o iotort iotort.o $(LIBS)
mfuntort: mfuntort.o
$(CC) $(CFLAGS) $(DEFS) -o mfuntort mfuntort.o $(LIBS)
tstmove: tstmove.o
$(CC) $(CFLAGS) $(DEFS) -o tstmove tstmove.o $(LIBS)
tstpxvec: tstpxvec.o
$(CC) $(CFLAGS) $(DEFS) -o tstpxvec tstpxvec.o $(LIBS)
|