-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.mk
More file actions
31 lines (26 loc) · 785 Bytes
/
build.mk
File metadata and controls
31 lines (26 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
include $(TOP)/build/header.mk
FFI_CFLAGS := $(shell pkg-config --cflags-only-I libffi)
FFI_LFLAGS := $(shell pkg-config --libs libffi)
products_$(d) := libvm.$(so)
libvm.$(so)_sources_$(d) += \
reader.cpp \
core.cpp \
values/list.cpp \
values/boxed.cpp \
values/symbol.cpp \
values/vector.cpp \
values/map.cpp \
values/set.cpp \
values/var.cpp \
values/ns.cpp \
values/binary.cpp \
values/string.cpp \
values/fn.cpp \
values/type.cpp \
values/protocol.cpp \
values/array.cpp
libvm.$(so)_precompiled_$(d) :=
libvm.$(so)_target_dir_$(d) := lib
libvm.$(so)_cxx_flags_$(d) := -g -std=c++14 -fPIC -I$(d)/lib/momentum/include $(FFI_CFLAGS)
libvm.$(so)_ld_flags_$(d) := -ldl -rdynamic -shared -undefined dynamic_lookup $(FFI_LFLAGS)
include $(TOP)/build/footer.mk