# Makefile for make

CFLAGS = -Dunix -D_MINIX $(OPT)

OBJ =	check.o input.o macro.o main.o make.o reader.o rules.o archive.o

make :	$(OBJ)
	$(CC) -fnone -o make $(OBJ)

install:	/usr/bin/make /usr/man/man1/make.1

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

/usr/man/man1/make.1:	make.1
	install -lc $? $@
 
$(OBJ): h.h

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