mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
On Clang, error on implicit function declaration by default.
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,7 +1,8 @@
|
||||
.POSIX:
|
||||
|
||||
REALCFLAGS = ${CFLAGS} -Wall -Iinclude -Iinclude/asm/gameboy -g -std=c99 \
|
||||
-D_POSIX_C_SOURCE=200112L
|
||||
WARNFLAGS = -Wall -Werror=implicit-int
|
||||
REALCFLAGS = ${CFLAGS} ${WARNFLAGS} -Iinclude -Iinclude/asm/gameboy -g \
|
||||
-std=c99 -D_POSIX_C_SOURCE=200112L
|
||||
|
||||
# User-defined variables
|
||||
PREFIX = /usr/local
|
||||
|
||||
Reference in New Issue
Block a user