mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
10e6408022
See: https://forum.level1techs.com/t/headless-pci-passthrough-program-name-vote/121779/36
25 lines
634 B
Makefile
25 lines
634 B
Makefile
BINARY=looking-glass-client
|
|
CFLAGS=-g -O3 -std=gnu99 -march=native -Wall -Werror -I../common -DDEBUG
|
|
LDFLAGS=-lrt
|
|
|
|
CFLAGS+=`pkg-config --cflags sdl2`
|
|
LDFLAGS+=`pkg-config --libs sdl2`
|
|
|
|
CFLAGS+=`pkg-config --cflags SDL2_ttf`
|
|
LDFLAGS+=`pkg-config --libs SDL2_ttf`
|
|
|
|
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`
|
|
LDFLAGS+=`pkg-config --libs libssl openssl`
|
|
|
|
CFLAGS+=`pkg-config --cflags spice-protocol`
|
|
|
|
all:
|
|
mkdir -p bin
|
|
gcc ${CFLAGS} -o bin/${BINARY} main.c spice/spice.c ivshmem/ivshmem.c ${LDFLAGS}
|