view ueda/uschem-utils/Makefile @ 99:0c84fff4cb6e

SIM_Socket_473882001.fp: converted from um to mm units
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 29 Sep 2019 18:28:30 +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}