mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +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:
|
.POSIX:
|
||||||
|
|
||||||
REALCFLAGS = ${CFLAGS} -Wall -Iinclude -Iinclude/asm/gameboy -g -std=c99 \
|
WARNFLAGS = -Wall -Werror=implicit-int
|
||||||
-D_POSIX_C_SOURCE=200112L
|
REALCFLAGS = ${CFLAGS} ${WARNFLAGS} -Iinclude -Iinclude/asm/gameboy -g \
|
||||||
|
-std=c99 -D_POSIX_C_SOURCE=200112L
|
||||||
|
|
||||||
# User-defined variables
|
# User-defined variables
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
|||||||
Reference in New Issue
Block a user