Add -Wall and -Werror

to follow android compiler
This commit is contained in:
Nikola Petrov
2024-03-03 23:09:37 +01:00
parent 1755c18496
commit acb478f970
3 changed files with 6 additions and 5 deletions

View File

@@ -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))