comparison hr-sid/Makefile @ 47:ee54b9748c09

hr-sid: add conversion of misordered SID field
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 24 Jul 2024 05:39:51 +0000
parents 5c82f2e56d56
children
comparison
equal deleted inserted replaced
46:d5f1b7aa76c4 47:ee54b9748c09
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= sidgen 3 PROGS= misorder sidgen
4 OUTPUT= hr-sid-test.hrpf 4 MISORD= sid-field-misorder.inc
5 SIDTEST=hr-sid-test.hrpf
6 OUTPUT= ${MISORD} ${SIDTEST}
5 7
6 all: ${PROG} ${OUTPUT} 8 all: ${PROGS} ${OUTPUT}
7 9
8 ${PROG}: ${PROG}.o 10 sidgen: sidgen.c
9 ${CC} ${CFLAGS} -o $@ $^ 11 ${CC} ${CFLAGS} -o $@ $^
10 12
11 ${OUTPUT}: ${PROG} 13 ${SIDTEST}: sidgen
12 ./${PROG} ${OUTPUT} 14 ./sidgen $@
15
16 misorder: misorder.c
17 ${CC} ${CFLAGS} -o $@ $^
18
19 ${MISORD}: misorder
20 ./misorder > $@
13 21
14 clean: 22 clean:
15 rm -f ${PROG} *.o *.hrpf 23 rm -f ${PROGS} *.o *.hrpf *.inc