14 lines
252 B
Makefile
14 lines
252 B
Makefile
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
|