glob

A simple filepath globber
git clone https://git.sinitax.com/sinitax/glob
Log | Files | Refs | LICENSE | sfeed.txt

Makefile (260B)


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