view 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
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	misorder sidgen
MISORD=	sid-field-misorder.inc
SIDTEST=hr-sid-test.hrpf
OUTPUT=	${MISORD} ${SIDTEST}

all:	${PROGS} ${OUTPUT}

sidgen:	sidgen.c
	${CC} ${CFLAGS} -o $@ $^

${SIDTEST}:	sidgen
	./sidgen $@

misorder:	misorder.c
	${CC} ${CFLAGS} -o $@ $^

${MISORD}:	misorder
	./misorder > $@

clean:
	rm -f ${PROGS} *.o *.hrpf *.inc