LookingGlass/client/Makefile
2017-10-19 15:15:49 +11:00

14 lines
332 B
Makefile

CFLAGS=-g -Og -std=gnu99 -march=native -Wall -Werror
LDFLAGS=-lrt -lGL
CFLAGS+=`pkg-config --cflags sdl2`
LDFLAGS+=`pkg-config --libs sdl2`
CFLAGS+=`pkg-config --cflags libssl openssl`
LDFLAGS+=`pkg-config --libs libssl openssl`
CFLAGS+=`pkg-config --cflags spice-protocol`
all:
gcc ${CFLAGS} -o main main.c spice.c ${LDFLAGS}