diff 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 diff
--- a/dspanal/Makefile	Mon Oct 28 02:37:47 2019 +0000
+++ b/dspanal/Makefile	Mon Oct 28 05:20:50 2019 +0000
@@ -1,14 +1,19 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	char2bin patchanal
+SIMPLE=	char2bin patchanal
+CMPLX=	char2coff
+PROGS=	${SIMPLE} ${CMPLX}
 
 all:	${PROGS}
 
-${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