view hr-sid/Makefile @ 52:fd498c6898a8

efr-sid OS#6538: generate TCH UL file for FC testing
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 12 Aug 2024 03:09:13 +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