8ff4b18c51
In C this time. Python/Perl code is barely terser than C for these little tools. Why bother with interpreted?
14 lines
211 B
Makefile
14 lines
211 B
Makefile
CFLAGS ?= -Wall
|
|
|
|
MEMDUMP_TGT = memdumpb
|
|
MEMDUMP_SRC = memdump.c
|
|
|
|
all: ${MEMDUMP_TGT}
|
|
|
|
${MEMDUMP_TGT}: ${MEMDUMP_SRC}
|
|
${CC} ${CFLAGS} ${MEMDUMP_SRC} -o ${MEMDUMP_TGT}
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f ${MEMDUMP_TGT}
|