Quickly get timetables for the public transporation system Réseau Stan in Nancy, France.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 436B

1234567891011121314151617181920212223242526
  1. PACKAGE = islas
  2. GOPATH = $(CURDIR)/.gopath
  3. BASE = $(GOPATH)/src/$(PACKAGE)
  4. PREFIX ?= $(HOME)
  5. .PHONY: all clean install
  6. all: islas
  7. clean:
  8. rm -f islas
  9. islas: $(BASE) vendor/.ok $(shell find -name '*.go')
  10. cd $(BASE) && CGO_ENABLED=1 go build .
  11. $(BASE):
  12. @mkdir -p $(dir $@)
  13. @ln -sf $(CURDIR) $@
  14. vendor: $(BASE) vendor/.ok
  15. vendor/.ok:
  16. glide install
  17. @touch vendor/.ok
  18. install: islas
  19. install -Dm755 islas $(PREFIX)/bin/islas