bsdiff-portable

A more portable version of Colin Percival's bsdiff
git clone git://git.sgregoratto.me/bsdiff-portable
Log | Files | Refs | README | LICENSE

Makefile (448B)


      1 include Makefile.configure
      2 
      3 OBJS = bsdiff.o bspatch.o util.o compats.o
      4 
      5 all: bsdiff bspatch
      6 
      7 bsdiff:	bsdiff.o util.o compats.o
      8 	$(CC) -o $@ -lbz2 $(LDFLAGS) bsdiff.o util.o compats.o
      9 
     10 bspatch: bspatch.o util.o compats.o
     11 	$(CC) -o $@ -lbz2 $(LDFLAGS) bspatch.o util.o compats.o
     12 
     13 install:
     14 	${INSTALL_PROGRAM} bsdiff bspatch ${DESTDIR}${PREFIX}/bin
     15 	${INSTALL_MAN} bsdiff.1 bspatch.1 ${DESTDIR}${PREFIX}/man/man1
     16 
     17 clean:
     18 	rm -f bsdiff bspatch $(OBJS)