kbranigan / Simple-OpenGL-Image-Library

Simple image uploader primarily for OpenGL
http://lonesock.net/soil.html
244 stars 105 forks source link

Fix CXX and CXXFLAGS are for g++ and this is a C project #18 #20

Closed Lecrapouille closed 1 year ago

Lecrapouille commented 1 year ago

CXX = gcc is not a good idea because: 1/ We cannot override options like: make CC=clang-13 CFLAGS="-O2 -s -Wall -fPIC" -j8 2/ CXX is for g++ and overriding will fail compiling the project. 3/ CC is by default equals to cc (gcc) 3/ CC is by default equals to cc (gcc)

kbranigan commented 1 year ago

this is very simple and perfect, sorry just started a new job ;)