NetBSD/sys/dev/microcode/tools/Makefile
ad b68bfe3ffa A couple of dumb utilities:
array2bin: take array[] from array.h and spit it out as a binary.
bin2blob: take a binary file and output a compressed image as a C array.
2008-05-04 23:50:32 +00:00

15 lines
253 B
Makefile

# $NetBSD: Makefile,v 1.1 2008/05/04 23:50:32 ad Exp $
BIN= bin2blob array2bin
all: ${BIN}
bin2blob: bin2blob.c
cc -Wall -O2 -lz -o bin2blob bin2blob.c
array2bin: array2bin.c
cc -Wall -O2 -lz -o array2bin array2bin.c
clean:
rm -f ${BIN} *~