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
1 changed files with 2 additions and 4 deletions

View File

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