diff d144/Makefile @ 54:8deebf9c410a

d144: "decompile" binary input format into ASCII
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 04:32:32 +0000
parents c93ecd225b7f
children fe3cdbbc96f9
line wrap: on
line diff
--- a/d144/Makefile	Wed Sep 25 03:50:11 2024 +0000
+++ b/d144/Makefile	Wed Sep 25 04:32:32 2024 +0000
@@ -1,15 +1,21 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	edata-input-compile
-DATA=	d144-ul-input.bin
+PROGS=	edata-input-compile edata-input-decomp
+DATA=	d144-ul-input.bin d144-ul-input.asc
 
 all:	${PROGS} ${DATA}
 
 edata-input-compile:	edata-input-compile.c
 	${CC} ${CFLAGS} -o $@ $@.c
 
+edata-input-decomp:	edata-input-decomp.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
 d144-ul-input.bin:	edata-input-compile ul-input
 	./edata-input-compile ul-input $@
 
+d144-ul-input.asc:	edata-input-decomp d144-ul-input.bin
+	./edata-input-decomp d144-ul-input.bin $@
+
 clean:
 	rm -f *.o ${PROGS} ${DATA}