view ueda/utils/Makefile @ 86:ccbf05fcbcb2

ifctf-part-lib/m4-fp/geda.inc: JUMPERn covers full [1,20] range
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Apr 2018 20:13:34 +0000
parents e2130f1ef720
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	cutelements instfileelem
BINDIR=	/usr/local/bin

all:	${PROGS}

${PROGS}:
	${CC} ${CFLAGS} -o $@ $@.c

install:
	install -c -o bin -g bin -m 755 cutelements ${BINDIR}/ueda-cutelements
	install -c -o bin -g bin -m 755 instfileelem ${BINDIR}/ueda-instfileelem
	install -c -o bin -g bin -m 755 runm4.sh ${BINDIR}/ueda-runm4

clean:
	rm -f *.[ao] a.out core errs ${PROGS}

cutelements: cutelements.c
instfileelem: instfileelem.c