[client] moved DEBUG define into a CFLAG

This commit is contained in:
Geoffrey McRae 2017-10-29 13:05:39 +11:00
parent 0f24d72dbb
commit d60f9988c9
4 changed files with 1 additions and 7 deletions

View File

@ -1,4 +1,4 @@
CFLAGS=-g -Og -std=gnu99 -march=native -Wall -Werror -I./ CFLAGS=-g -Og -std=gnu99 -march=native -Wall -Werror -I./ -DDEBUG
LDFLAGS=-lrt -lGL LDFLAGS=-lrt -lGL
CFLAGS+=`pkg-config --cflags sdl2` CFLAGS+=`pkg-config --cflags sdl2`

View File

@ -1,7 +1,4 @@
#include "ivshmem.h" #include "ivshmem.h"
#define DEBUG
#define DEBUG_IVSHMEM
#include "debug.h" #include "debug.h"
#include <stdlib.h> #include <stdlib.h>

View File

@ -11,7 +11,6 @@
#include <GL/gl.h> #include <GL/gl.h>
#define DEBUG
#include "debug.h" #include "debug.h"
#include "KVMGFXHeader.h" #include "KVMGFXHeader.h"
#include "ivshmem/ivshmem.h" #include "ivshmem/ivshmem.h"

View File

@ -1,6 +1,4 @@
#include "spice.h" #include "spice.h"
#define DEBUG
#include "debug.h" #include "debug.h"
#include <string.h> #include <string.h>