2014-07-30 05:36:28 -04:00
|
|
|
clean-files += Makefile.config
|
|
|
|
|
2023-04-03 12:11:42 -04:00
|
|
|
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 11:15:00 -05:00
|
|
|
|
2020-02-03 12:04:09 -05:00
|
|
|
$(foreach i, config.h $(wildcard src/lib*/*.hh), \
|
2015-06-09 05:14:36 -04:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2019-12-05 14:26:24 -05:00
|
|
|
|
2020-10-06 07:27:09 -04:00
|
|
|
$(GCH): src/libutil/util.hh config.h
|
2020-03-30 08:29:29 -04:00
|
|
|
|
|
|
|
GCH_CXXFLAGS = -I src/libutil
|