# Makefile for subfont program

BINDIR=$(HOME)/bin
MANDIR=$(HOME)/man/man1

# ANSI C --- can use gcc too
CC=gcc
CFLAGS=-O

all: subfont

subfont:	subfont.o
		$(CC) -o subfont subfont.o

install:	all
		install -cs subfont $(BINDIR)
		cp subfont.1 $(MANDIR)

clean:
	rm -f *.o *~ *.bak core a.out subfont