2016-08-12 15:44:01 +02:00
|
|
|
makefiles = local.mk
|
|
|
|
|
2024-03-04 04:01:54 +01: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 15:44:01 +02:00
|
|
|
|
|
|
|
-include Makefile.config
|
|
|
|
|
2019-11-06 16:55:37 +01:00
|
|
|
OPTIMIZE = 1
|
|
|
|
|
|
|
|
ifeq ($(OPTIMIZE), 1)
|
|
|
|
GLOBAL_CXXFLAGS += -O3
|
2019-11-07 12:18:37 +01:00
|
|
|
else
|
|
|
|
GLOBAL_CXXFLAGS += -O0
|
2019-11-06 16:55:37 +01:00
|
|
|
endif
|
|
|
|
|
2016-08-12 15:44:01 +02:00
|
|
|
include mk/lib.mk
|