added compilation options

This commit is contained in:
ArthurFerreira2 2020-08-17 18:45:24 +02:00 committed by GitHub
parent 40563bb731
commit 6d22f5d677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,9 @@
CC = gcc CC = gcc
FLAGS = -std=c99 -pedantic -Wpedantic -Wall -O3 FLAGS = -std=c99 -pedantic -Wpedantic -Wall -O3 -Werror
# -Werror
LIBS = -lSDL2 LIBS = -lSDL2
# comment this line if you are under Linux : # comment this line if you are under Linux :
WIN32-LIBS = -lmingw32 -lSDL2main WIN32-LIBS = -lmingw32 -lSDL2main -Wl,-subsystem,windows
#-Wl,-subsystem,windows
# comment this line if you are under Linux : # comment this line if you are under Linux :
WIN32-RES = reinetteII+.res WIN32-RES = reinetteII+.res