view dspanal/Makefile @ 401:4b6b595ae0a0

compal/boot/code-deriv: new analysis
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 14 Jan 2023 23:59:23 +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