hexa.cr/examples/makefile

14 lines
252 B
Makefile
Raw Permalink Normal View History

2024-06-21 13:28:45 +02:00
all: build
include makefile.local
SOURCE_FILES = ../src/bindings.cr ../src/hexa.cr ../src/high-level-bindings.cr
example: $(SOURCE_FILES) example.cr
crystal build --progress $(LD_FLAGS) example.cr
build: example
run: build
$(LIB_PATH) ./example