view ueda/unet-bind/Makefile @ 101:ffab0a4424ad

ueda: unet-bind program moved into sensibly named unet-bind subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Sep 2019 22:42:41 +0000
parents ueda/sverp-bind/Makefile@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}