Debian Codegraph @

debian/tests/makefile

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