changeset 53:c93ecd225b7f

d144: generate d144-ul-input.bin
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 03:50:11 +0000
parents 4681ad8483d6
children 8deebf9c410a
files .hgignore d144/Makefile
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Sep 25 03:33:16 2024 +0000
+++ b/.hgignore	Wed Sep 25 03:50:11 2024 +0000
@@ -2,6 +2,7 @@
 
 \.[oa]$
 
+^d144/d144-ul-input\.bin$
 ^d144/edata-input-compile$
 
 ^tfo/find-is-hdr$
--- a/d144/Makefile	Wed Sep 25 03:33:16 2024 +0000
+++ b/d144/Makefile	Wed Sep 25 03:50:11 2024 +0000
@@ -1,11 +1,15 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	edata-input-compile
+DATA=	d144-ul-input.bin
 
-all:	${PROGS}
+all:	${PROGS} ${DATA}
 
 edata-input-compile:	edata-input-compile.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
+d144-ul-input.bin:	edata-input-compile ul-input
+	./edata-input-compile ul-input $@
+
 clean:
-	rm -f *.o ${PROGS}
+	rm -f *.o ${PROGS} ${DATA}