Add -Wall and -Werror
to follow android compiler
This commit is contained in:
4
Makefile
4
Makefile
@@ -5,8 +5,6 @@ RAYOBJECTS= obj/rcore.o obj/rshapes.o obj/rtextures.o obj/rtext.o obj/utils.o ob
|
||||
#RAYOPT= -O3
|
||||
RAYOPT= -ggdb
|
||||
|
||||
CFLAGS= -std=c++23
|
||||
|
||||
all: setup main run
|
||||
|
||||
setup:
|
||||
@@ -44,6 +42,8 @@ SRCDIR = src
|
||||
OBJDIR = obj
|
||||
INCLUDE = -Iinc
|
||||
|
||||
CFLAGS= -std=c++23 -Wall -Werror
|
||||
|
||||
SOURCES = $(wildcard $(SRCDIR)/*.cpp)
|
||||
|
||||
OBJECTS = $(patsubst $(SRCDIR)/%.cpp,$(OBJDIR)/%.o,$(SOURCES))
|
||||
|
||||
Reference in New Issue
Block a user