forked from C-Chads/tinygl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mk
33 lines (23 loc) · 1.09 KB
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#####################################################################
# C compiler
#CC= clang
#CC=cc
CC=gcc
#CC=tcc
#uncomment the following line for compiling the lib using tinyc.
#note that the demos will fail to build with tinyc, but you can
#-link- to tinygl built with tinyc using gcc.
#CC= tcc
#CFLAGS= -Wall -w -O3 -g -std=c99 -mtune=native -DNDEBUG
#CFLAGS= -Wall -w -O3 -g -std=c99 -march=native -DNDEBUG
#extract the maximum possible performance from gcc.
#CFLAGS= -Wall -O3 -std=c99 -DNDEBUG -march=native -Wno-unused-function
CFLAGS= -Wall -O3 -std=c99 -DNDEBUG -march=native -fopenmp -Wno-unused-function
#CFLAGS_LIB= -Wall -O3 -std=c99 -pedantic -DNDEBUG -march=native -Wno-unused-function
CFLAGS_LIB= -Wall -O3 -std=c99 -pedantic -DNDEBUG -fopenmp -march=native -Wno-unused-function
#CFLAGS= -Wall -Ofast -std=gnu99 -DNDEBUG -mtune=native
#uncomment the following line for compiling the lib with tinyc
#keep these flags for compiling with gcc if you are linking with tinygl compiled with tcc.
#CFLAGS= -Wall -O3 -std=gnu99 -DNDEBUG -g
#CFLAGS= -Wall -O1 -g -std=c99 -Wno-undef -DNDEBUG
LFLAGS=