comparison 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
comparison
equal deleted inserted replaced
307:8e816bba2ff7 308:f8344bc4fd61
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= char2bin patchanal 3 SIMPLE= char2bin patchanal
4 CMPLX= char2coff
5 PROGS= ${SIMPLE} ${CMPLX}
4 6
5 all: ${PROGS} 7 all: ${PROGS}
6 8
7 ${PROGS}: 9 ${SIMPLE}:
8 ${CC} ${CFLAGS} -o $@ $@.c 10 ${CC} ${CFLAGS} -o $@ $@.c
9 11
10 char2bin: char2bin.c 12 char2bin: char2bin.c
11 patchanal: patchanal.c 13 patchanal: patchanal.c
12 14
15 char2coff: char2coff.o charparse.o coffout.o
16 ${CC} ${CFLAGS} -o $@ $^
17
13 clean: 18 clean:
14 rm -f ${PROGS} *.o *errs *.out 19 rm -f ${PROGS} *.o *errs *.out