REPL calculator in Bash and AWK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
344 B

PREFIX ?= /usr
MANDIR ?= $(PREFIX)/share/man
all:
echo Run \'make install\' to install cawk.
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin
mkdir -p $(DESTDIR)$(MANDIR)/man1
cp -p cawk $(DESTDIR)$(PREFIX)/bin/cawk
cp -p cawk.1 $(DESTDIR)$(MANDIR)/man1
uninstall:
rm -rf $(DESTDIR)$(PREFIX)/bin/cawk
rm -rf $(DESTDIR)$(MANDIR)/man1/cawk.1*