view ueda/uschem-utils/Makefile @ 134:ab7b9f01ac6a

netdiff: pads2donl converter added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 00:40:55 +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}