view hr-sid/Makefile @ 50:0db059f4632d

efr-sid OS#6538: more sensible 2-bit errors
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Aug 2024 02:49:28 +0000
parents ee54b9748c09
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