1CFLAGS += -O3 -lbz2 2 3PREFIX ?= /usr/local 4INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555 5INSTALL_MAN ?= ${INSTALL} -c -m 444 6 7all: bsdiff bspatch 8bsdiff: bsdiff.c 9bspatch: bspatch.c 10 11install: 12 ${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin 13.ifndef WITHOUT_MAN 14 ${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1 15.endif 16