diff 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 diff
--- a/hr-sid/Makefile	Sun Jun 09 08:58:44 2024 +0000
+++ b/hr-sid/Makefile	Wed Jul 24 05:39:51 2024 +0000
@@ -1,15 +1,23 @@
 CC=	gcc
 CFLAGS=	-O2
-PROG=	sidgen
-OUTPUT=	hr-sid-test.hrpf
+PROGS=	misorder sidgen
+MISORD=	sid-field-misorder.inc
+SIDTEST=hr-sid-test.hrpf
+OUTPUT=	${MISORD} ${SIDTEST}
 
-all:	${PROG} ${OUTPUT}
+all:	${PROGS} ${OUTPUT}
 
-${PROG}:	${PROG}.o
+sidgen:	sidgen.c
 	${CC} ${CFLAGS} -o $@ $^
 
-${OUTPUT}:	${PROG}
-	./${PROG} ${OUTPUT}
+${SIDTEST}:	sidgen
+	./sidgen $@
+
+misorder:	misorder.c
+	${CC} ${CFLAGS} -o $@ $^
+
+${MISORD}:	misorder
+	./misorder > $@
 
 clean:
-	rm -f ${PROG} *.o *.hrpf
+	rm -f ${PROGS} *.o *.hrpf *.inc