tquery

Interactive command query tool
git clone https://git.sinitax.com/sinitax/tquery
Log | Files | Refs | LICENSE | sfeed.txt

Makefile (442B)


      1PREFIX ?= /usr/local
      2BINDIR ?= /bin
      3
      4CFLAGS = -std=c99 -D_XOPEN_SOURCE=700 -Og -g -Wunused-function \
      5	-Wunused-variable -Wconversion -Wsign-compare -Wuninitialized \
      6	$(CFLAGS_EXTRA)
      7LDFLAGS = -lcurses
      8
      9all: tquery
     10
     11clean:
     12	rm -f tquery
     13
     14cleanall: clean
     15
     16tquery: tquery.c
     17
     18install:
     19	install -m755 tquery -t "$(DESTDIR)$(PREFIX)$(BINDIR)"
     20
     21uninstall:
     22	rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/tquery"
     23
     24.PHONY: all clean cleanall install uninstall