diff utils/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 871e83f0cb76
children
line wrap: on
line diff
--- a/utils/Makefile	Mon Aug 12 02:49:28 2024 +0000
+++ b/utils/Makefile	Mon Aug 12 03:06:17 2024 +0000
@@ -1,11 +1,14 @@
 CC=	gcc
 CFLAGS=	-O2
-PROG=	gen-hex-c
+PROGS=	gen-hex-c gen-hex-lines
+
+all:	${PROGS}
 
-all:	${PROG}
+gen-hex-c:	gen-hex-c.c
+	${CC} ${CFLAGS} -o $@ $@.c
 
-${PROG}:	${PROG}.c
+gen-hex-lines:	gen-hex-lines.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
 clean:
-	rm -f *.o ${PROG}
+	rm -f *.o ${PROGS}