pipeln

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

Makefile (380B)


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