gemini/Makefile
2022-01-05 17:02:05 -03:00

11 lines
211 B
Makefile

PREFIX ?= /usr/local
entry := src/gemini.cr
sources := $(wildcard src/*/*.cr)
gemini: $(entry) $(sources)
crystal build --release $<
strip --strip-all $@
install: gemini
install -m 755 $< $(PREFIX)/bin/$<