nix-super/local.mk

11 lines
484 B
Makefile
Raw Normal View History

GLOBAL_CXXFLAGS += -Wno-deprecated-declarations -Werror=switch
# Allow switch-enum to be overridden for files that do not support it, usually because of dependency headers.
ERROR_SWITCH_ENUM = -Werror=switch-enum
2014-02-07 18:15:00 +02:00
2023-08-07 18:16:58 +03:00
$(foreach i, config.h $(wildcard src/lib*/*.hh) $(wildcard src/lib*/*.h $(filter-out %_internal.h, $(wildcard src/lib*/c/*.h))), \
2015-06-09 12:14:36 +03:00
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
$(GCH): src/libutil/util.hh config.h
2020-03-30 15:29:29 +03:00
GCH_CXXFLAGS = $(INCLUDE_libutil)