[client] moved spice implementation into subdirectory

This commit is contained in:
Geoffrey McRae 2017-10-19 15:18:27 +11:00
parent 18a6b4f279
commit 314b8621ea
5 changed files with 3 additions and 3 deletions

View File

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

Binary file not shown.

View File

@ -16,7 +16,7 @@
#define DEBUG #define DEBUG
#include "debug.h" #include "debug.h"
#include "KVMGFXHeader.h" #include "KVMGFXHeader.h"
#include "spice.h" #include "spice/spice.h"
#include "kb.h" #include "kb.h"
#define MAP_SIZE (16*1024*1024) #define MAP_SIZE (16*1024*1024)