view dspanal/Makefile @ 371:c7514c8b5b41

pirelli/headset: plug insertion detection figured out
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 14 Jun 2021 01:33:48 +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