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 committed by Leonardo Hernández Hernández
parent e5dc5b0ad7
commit be39a5d7e8
No known key found for this signature in database
GPG key ID: E538897EE11B9624
3 changed files with 10 additions and 3 deletions

View file

@ -4,8 +4,8 @@
include config.mk
# flags for compiling
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XWAYLAND)
DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros\
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XWAYLAND) $(CONFIG_H)
DWLDEVCFLAGS = -ggdb3 -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
# CFLAGS / LDFLAGS