hexa.cr/examples/makefile.local

10 lines
320 B
Plaintext

ifdef DEV
# Use ABSOLUTE paths for linker parameters (-L path) to avoid errors.
LIB_HEXA_REPOS ?= /tmp/prog/libhexa/zig-out/lib
LIB_PATH = LD_LIBRARY_PATH=$(LIB_HEXA_REPOS)
endif
ifdef LIB_HEXA_REPOS
# This is an example on how to use link flags with Crystal.
LD_FLAGS ?= --link-flags "-L$(LIB_HEXA_REPOS)"
endif