]> git.proxmox.com Git - spiceterm.git/commitdiff
enable debugging
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 16 Oct 2013 06:50:44 +0000 (08:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 16 Oct 2013 06:50:44 +0000 (08:50 +0200)
Makefile

index 2846d32001e594a2f872d8626017dbb085043dcc..a037d34493fe442f91ac8e012adee900527833f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ SOURCES=screen.c event_loop.c spiceterm.c
 all: ${PROGRAMS}
 
 spiceterm: ${SOURCES} ${HEADERS} spiceterm.c 
-       gcc -Werror -Wall -Wtype-limits ${SOURCES} -o $@ -lutil $(shell pkg-config --cflags gdk-3.0) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server)
+       gcc -Werror -Wall -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config --cflags gdk-3.0) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server)
 
 .PHONY: test
 test: spiceterm