view ueda/sverp-bind/Makefile @ 83:88cdef7e6b1b

BOM tallying code factored out of ueda-mkbom
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 23 Feb 2017 19:27:14 +0000
parents 61272ee5aadc
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	enterinst.o insthash.o main.o outcomp.o output.o readunet.o starpoints.o
LIBS=	../libunet/libunet.a ../libueda/libueda.a
PROG=	unet-bind
BINDIR=	/usr/local/bin

all:	${PROG}

${PROG}:	${OBJS} ${LIBS}
	${CC} -o $@ ${OBJS} ${LIBS}

${OBJS}:	struct.h

install:
	install -c -o bin -g bin -m 755 ${PROG} ${BINDIR}

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