view dspanal/Makefile @ 308:f8344bc4fd61

dspanal: char2coff utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Oct 2019 05:20:50 +0000
parents 8e816bba2ff7
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