hexa.cr/examples/makefile.local

10 lines
320 B
Plaintext
Raw Permalink Normal View History

2024-06-21 13:28:45 +02:00
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