view ueda/uschem-utils/Makefile @ 23:558269596a5c

unet-bind output spacing fix
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 02 Aug 2015 07:29:28 +0000
parents cd92449fdb51
children
line wrap: on
line source

CFLAGS=	-O
PROGS=	check rewrite
LIBS=	../libuschem/libuschem.a ../libueda/libueda.a
BINDIR=	/usr/local

all:	${PROGS}

check:	check.o checknets.o
	${CC} -o $@ $@.o checknets.o ${LIBS}

rewrite: rewrite.o
	${CC} -o $@ $@.o ${LIBS}

${PROGS}:	${LIBS}

install:
	install -c -o bin -g bin -m 755 check ${BINDIR}/uschem-check
	install -c -o bin -g bin -m 755 rewrite ${BINDIR}/uschem-rewrite

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