view ueda/mclutils/Makefile @ 28:33e4c4cdf493

libunet: reading of ATTR lines implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 08 Aug 2015 21:17:57 +0000
parents d098f8548b44
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