hexdiff

Highlighted diff for binary files
git clone https://git.sinitax.com/sinitax/hexdiff
Log | Files | Refs | LICENSE | sfeed.txt

Makefile (375B)


      1PREFIX ?= /usr/local
      2BINDIR ?= /bin
      3
      4CFLAGS = -Wunused-variable -Wunused-function -Wconversion
      5
      6ifeq ($(DEBUG),1)
      7CFLAGS += -Og -g
      8else
      9CFLAGS += -O2
     10endif
     11
     12all: hexdiff
     13
     14clean:
     15	rm -f hexdiff
     16
     17hexdiff: hexdiff.c
     18
     19install:
     20	install -m755 hexdiff -t "$(DESTDIR)$(PREFIX)$(BINDIR)"
     21
     22uninstall:
     23	rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/hexdiff"
     24
     25.PHONY: all clean install uninstall