view dspanal/Makefile @ 335:10d62a3bfeec

frbl2test: L command addr and nwords need to be sent in LE byte order
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 05:56:32 +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