linkup

Symlink farmer
git clone https://git.sinitax.com/sinitax/linkup
Log | Files | Refs | LICENSE | sfeed.txt

Makefile (338B)


      1PREFIX ?= /usr/local
      2BINDIR ?= /bin
      3
      4CFLAGS = -Wunused-variable -Wunused-function -Wuninitialized -Wconversion
      5
      6all: linkup
      7
      8clean:
      9	rm -f linkup
     10
     11linkup: linkup.c
     12
     13install: linkup
     14	install -m755 linkup -T "$(DESTDIR)$(PREFIX)$(BINDIR)/linkup"
     15
     16uninstall:
     17	rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/linkup"
     18
     19.PHONY: all clean install uninstall