view ueda/uschem-utils/Makefile @ 42:43ba91b137e2

pads2gpcb: starting to grok decal definitions
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 11 Jan 2016 19:21:29 +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}