28d14a325c
in case we ever decide to remove the support for the (obsolete) `.' separator.
23 lines
588 B
Makefile
23 lines
588 B
Makefile
# $Id: Makefile,v 1.8 1993/10/01 00:16:44 jtc Exp $
|
|
|
|
PROG= eqn
|
|
SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\
|
|
script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc\
|
|
eqn.cc
|
|
CFLAGS+= -I. -I$(.CURDIR)/../include
|
|
LDADD+= $(LIBGROFF)
|
|
DPADD+= $(LIBGROFF)
|
|
|
|
CLEANFILES+= eqn.cc eqn.tab.h
|
|
|
|
lex.o: eqn.cc
|
|
|
|
afterinstall:
|
|
sed -e 's/@g@/$(g)/g' $(.CURDIR)/neqn.sh > $(DESTDIR)$(BINDIR)/neqn
|
|
chown ${BINOWN}:${BINGRP} $(DESTDIR)$(BINDIR)/neqn
|
|
chmod ${BINMODE} $(DESTDIR)$(BINDIR)/neqn
|
|
|
|
.include "../../Makefile.inc"
|
|
.include "../Makefile.cfg"
|
|
.include <bsd.prog.mk>
|