LookingGlass/client/Makefile

20 lines
509 B
Makefile
Raw Normal View History

CFLAGS=-g -Og -std=gnu99 -march=native -Wall -Werror -I../common -DDEBUG
LDFLAGS=-lrt
2017-10-19 04:15:49 +00:00
CFLAGS+=`pkg-config --cflags 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`
2017-10-19 04:15:49 +00:00
CFLAGS+=`pkg-config --cflags libssl openssl`
LDFLAGS+=`pkg-config --libs libssl openssl`
CFLAGS+=`pkg-config --cflags spice-protocol`
all:
gcc ${CFLAGS} -o bin/main main.c spice/spice.c ivshmem/ivshmem.c ${LDFLAGS}