shithub: tinygl

ref: 78f40b98dbd8ceb0e1bae3a88a89ff7919a6bda1
dir: /config.mk/

View raw version
#####################################################################
# C compiler

CC= clang
#CC=gcc
#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 -Warray-bounds -Ofast -std=gnu99 -mtune=native -DNDEBUG -g -fopenmp
#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=