gemini/Makefile

12 lines
211 B
Makefile
Raw Normal View History

2022-01-05 20:02:05 +00:00
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/$<