# This Makefile automatically generated by configure. CC = x86_64-camellia-gcc CFLAGS = -g -O2 -I. -D_GNU_SOURCE PREFIX = /usr/local MANDIR = /usr/local/man PROG = ed OBJS = buf.o glbl.o io.o main.o re.o sub.o undo.o \ regcomp.o regerror.o regexec.o regfree.o \ reallocarray.o strlcat.o strlcpy.o all: ${PROG} ${PROG}: ${OBJS} ${CC} ${LDFLAGS} -o ${PROG} ${OBJS} install: install -d ${DESTDIR}${PREFIX}/bin install -d ${DESTDIR}${MANDIR}/man1 install -c -s -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin install -c -m 644 ed.1 ${DESTDIR}${MANDIR}/man1/${PROG}.1 test: @echo "No tests" clean: rm -f ${PROG} ${OBJS} distclean: clean rm -f Makefile config.h