# Makefile for indent

CFLAGS= -D_MINIX $(OPT)

OBJ = args.o comment.o lexi.o indent.o parse.o io.o

indent: ${OBJ}
	$(CC) -fnone -o indent ${OBJ}

install:	/usr/bin/indent /usr/man/man9/indent.9

/usr/bin/indent:	indent
	install -lc indent $@

/usr/man/man9/indent.9:	indent.9
	install -lc $? $@

$(OBJ): globs.h codes.h

clean:
	rm -f *.bak *.o core indent
