# Makefile for patchtree. CFLAGS= -D_MINIX $(OPT) LDFLAGS=-fnone OBJ= patchtree.o patchone.o maptree.o inspect.o patchtree: $(OBJ) $(CC) $(LDFLAGS) -o $@ $(OBJ) install: /usr/bin/patchtree /usr/man/man1/patchtree.1 /usr/bin/patchtree: patchtree install -lc $? $@ /usr/man/man1/patchtree.1: patchtree.1 install -lc $? $@ clean: rm -f $(OBJ) patchtree core # Dependencies. patchtree.o: patchtree.h maptree.h inspect.h patchone.o: patchtree.h inspect.h maptree.o: patchtree.h maptree.h inspect.o: patchtree.h inspect.h