allow use config.def.h instead of config.h

This commit is contained in:
Leonardo Hernández Hernández 2022-10-16 15:42:16 -05:00
parent e6a0980cf9
commit 25a96a8190
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 11 additions and 2 deletions

View file

@ -4,7 +4,7 @@
include config.mk
# flags for compiling
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XWAYLAND)
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XWAYLAND) $(CONFIG_H)
DWLDEVCFLAGS = -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros\
-Werror=strict-prototypes -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types