[client] added changes to Makefile to include additional GL libs

This commit is contained in:
Geoffrey McRae 2017-11-19 10:46:20 +11:00
parent 249801b52b
commit a413362e53

View File

@ -1,9 +1,15 @@
CFLAGS=-g -Og -std=gnu99 -march=native -Wall -Werror -I../common -DDEBUG CFLAGS=-g -Og -std=gnu99 -march=native -Wall -Werror -I../common -DDEBUG
LDFLAGS=-lrt -lGL LDFLAGS=-lrt
CFLAGS+=`pkg-config --cflags sdl2` CFLAGS+=`pkg-config --cflags sdl2`
LDFLAGS+=`pkg-config --libs sdl2` LDFLAGS+=`pkg-config --libs sdl2`
CFLAGS+=`pkg-config --cflags gl`
LDFLAGS+=`pkg-config --libs gl`
CFLAGS+=`pkg-config --cflags glu`
LDFLAGS+=`pkg-config --libs glu`
CFLAGS+=`pkg-config --cflags libssl openssl` CFLAGS+=`pkg-config --cflags libssl openssl`
LDFLAGS+=`pkg-config --libs libssl openssl` LDFLAGS+=`pkg-config --libs libssl openssl`