ref: master
./Makefile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
.POSIX: .SUFFIXES: GO = go RM = rm GOFLAGS = PREFIX = /usr/local BINDIR = $(PREFIX)/bin goflags = $(GOFLAGS) all: hidrocor hidrocor: $(GO) build $(goflags) -o hidrocor . clean: $(RM) -rf hidrocor install: all mkdir -p $(DESTDIR)$(BINDIR) cp -f hidrocor $(DESTDIR)$(BINDIR) .PHONY: hidrocor clean install |