diff ueda/uschem-utils/Makefile @ 0:cd92449fdb51

initial import of ueda and ifctf-part-lib from ifctfvax CVS
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 20 Jul 2015 00:24:37 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ueda/uschem-utils/Makefile	Mon Jul 20 00:24:37 2015 +0000
@@ -0,0 +1,21 @@
+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}