2016-08-12 13:44:01 +00:00
|
|
|
makefiles = local.mk
|
|
|
|
|
2024-03-04 03:01:54 +00:00
|
|
|
GLOBAL_CXXFLAGS += -g -Wall -std=c++2a
|
|
|
|
|
|
|
|
# A convenience for concurrent development of Nix and its Perl bindings.
|
|
|
|
# Not needed in a standalone build of the Perl bindings.
|
|
|
|
ifneq ("$(wildcard ../src)", "")
|
|
|
|
GLOBAL_CXXFLAGS += -I ../src
|
|
|
|
endif
|
2016-08-12 13:44:01 +00:00
|
|
|
|
|
|
|
-include Makefile.config
|
|
|
|
|
2019-11-06 15:55:37 +00:00
|
|
|
OPTIMIZE = 1
|
|
|
|
|
|
|
|
ifeq ($(OPTIMIZE), 1)
|
|
|
|
GLOBAL_CXXFLAGS += -O3
|
2019-11-07 11:18:37 +00:00
|
|
|
else
|
|
|
|
GLOBAL_CXXFLAGS += -O0
|
2019-11-06 15:55:37 +00:00
|
|
|
endif
|
|
|
|
|
2016-08-12 13:44:01 +00:00
|
|
|
include mk/lib.mk
|