nix-super/local.mk

11 lines
429 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-07-14 16:52:12 +03:00
$(foreach i, config.h $(wildcard src/lib*/*.hh) $(wildcard src/lib*/*.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)