view hr-sid/Makefile @ 51:914eeb3ab866

efr-sid OS#6538: generate test frames in hex form
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Aug 2024 03:06:17 +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