################
# sect Makefile
#
# Last Modified: 01/01/1995



#
# You may have to change the following lines to suit your system
#

BINDIR = /usr/local/bin#  Directory to place the compiled binary
MANDIR = /usr/local/man#  Directory to place the man page.

#COMPILER = gcc#           If gcc is not available, un-comment the next line.
COMPILER = cc#           and re-comment the line above this one.

BINPERMISSIONS = 755#     Executable permissions: 755 = -rwxr-xr-x
MANPERMISSIONS = 644#     Man Page permissions:   644 = -rw-r--r--



#
# You should not have to change the following lines, unless you want a
# drastically different installation.
#


default: sect sect.man

sect:
	$(COMPILER) -+ -Oas ./sect2.c -o ./sect
	chmod $(BINPERMISSIONS) ./sect

sect.man:
	cp ./sect.1 $(MANDIR)/man1/
	chmod $(MANPERMISSIONS) $(MANDIR)/man1/sect.1
