view ueda/uschem-utils/Makefile @ 46:c81aba92cb5e

pads2gpcb: generic element writing implemented
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 30 Jan 2016 07:56:18 +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}