view d144/Makefile @ 63:4a906c2075bc

top Makefile: d144 depends on utils
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 18:49:39 +0000
parents eeb28c9c633a
children 0364d77aca58
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	atrau-parse edata-input-compile edata-input-decomp
DATA=	d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump

all:	${PROGS} ${DATA}

atrau-parse:	atrau-parse.c
	${CC} ${CFLAGS} -o $@ $@.c

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 $@

nokia-tcsm2-atrau.dump:	atrau-parse nokia-tcsm2-atrau.bin
	./atrau-parse nokia-tcsm2-atrau.bin > $@

clean:
	rm -f *.o ${PROGS} ${DATA}