pipeln

Pipeline creation tool
git clone https://git.sinitax.com/sinitax/pipeln
Log | Files | Refs | README | LICENSE | sfeed.txt

Makefile (380B)


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