mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-08 08:21:00 -04:00
initial Julia test
This commit is contained in:
parent
3d00746904
commit
2630a7dfe4
3 changed files with 18 additions and 3 deletions
11
config.mk
11
config.mk
|
|
@ -2,7 +2,14 @@
|
|||
PREFIX = /usr/local
|
||||
|
||||
# Default compile flags (overridable by environment)
|
||||
CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wdeclaration-after-statement
|
||||
#CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wdeclaration-after-statement
|
||||
|
||||
# Uncomment to build XWayland support
|
||||
#CFLAGS += -DXWAYLAND
|
||||
CFLAGS += -DXWAYLAND
|
||||
|
||||
JL_BIN = ./julia/julia
|
||||
JL_SHARE = $(shell $(JL_BIN) -e 'print(joinpath(Sys.BINDIR, Base.DATAROOTDIR, "julia"))')
|
||||
CFLAGS += $(shell $(JL_BIN) $(JL_SHARE)/julia-config.jl --cflags)
|
||||
CXXFLAGS += $(shell $(JL_BIN) $(JL_SHARE)/julia-config.jl --cflags)
|
||||
LDFLAGS += $(shell $(JL_BIN) $(JL_SHARE)/julia-config.jl --ldflags)
|
||||
LDLIBS += $(shell $(JL_BIN) $(JL_SHARE)/julia-config.jl --ldlibs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue