view ueda/mclutils/Makefile @ 3:d098f8548b44

ueda/mclutils Linuxified
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 20 Jul 2015 00:45:40 +0000
parents cd92449fdb51
children 6e43956e740d
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	getfps mkbom shortbom
LIBUEDA=../libueda/libueda.a
BINDIR=	/usr/local/bin

all:	${PROGS}

${PROGS}:	${LIBUEDA}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBUEDA}

install:
	install -c -o bin -g bin -m 755 getfps ${BINDIR}/ueda-getfps
	install -c -o bin -g bin -m 755 mkbom ${BINDIR}/ueda-mkbom
	install -c -o bin -g bin -m 755 shortbom ${BINDIR}/ueda-shortbom

clean:
	rm -f *.[ao] a.out core errs ${PROGS}

getfps:	getfps.o
mkbom:	mkbom.o
shortbom: shortbom.o