view 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 source

CC=	gcc
CFLAGS=	-O2
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}