12 lines
211 B
Makefile
12 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/$<
|