view ueda/sverp-bind/Makefile @ 31:61272ee5aadc

unet-bind: implemented -a option for specifying wanted attributes
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 08 Aug 2015 21:44:10 +0000
parents c7ebd6179f5d
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}