view dspanal/Makefile @ 310:ae39d76d5b7a

moko1-fw-disasm: simple analysis of init module
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 31 Jan 2020 22:45:18 +0000
parents f8344bc4fd61
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
SIMPLE=	char2bin patchanal
CMPLX=	char2coff
PROGS=	${SIMPLE} ${CMPLX}

all:	${PROGS}

${SIMPLE}:
	${CC} ${CFLAGS} -o $@ $@.c

char2bin:	char2bin.c
patchanal:	patchanal.c

char2coff:	char2coff.o charparse.o coffout.o
	${CC} ${CFLAGS} -o $@ $^

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