view hr-sid/Makefile @ 57:a64e5ed217c0 default tip

top Makefile: add fr-sid
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Aug 2024 06:43:31 +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