]> git.proxmox.com Git - spiceterm.git/blame - Makefile
use glib event loop
[spiceterm.git] / Makefile
CommitLineData
cc04455b 1
22e5ba02
DM
2PROGRAMS=test_display_no_ssl spiceterm
3
0535e191 4HEADERS=test_display_base.h basic_event_loop.h glyphs.h spiceterm.h
22e5ba02 5SOURCES=test_display_base.c basic_event_loop.c
cc04455b
DM
6
7all: ${PROGRAMS}
8
22e5ba02 9test_display_no_ssl: ${SOURCES} ${HEADERS} test_display_no_ssl.c
63a34f43 10 gcc ${SOURCES} test_display_no_ssl.c -o $@ $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server)
22e5ba02
DM
11
12spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
63a34f43 13 gcc ${SOURCES} spiceterm.c -o $@ -lutil $(shell pkg-config --cflags gdk-3.0) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server)
1d7f2da4 14
22e5ba02
DM
15.PHONY: test1
16test1: test_display_no_ssl
1d7f2da4 17 ./test_display_no_ssl & remote-viewer spice://localhost:5912
22e5ba02
DM
18
19.PHONY: test2
20test2: spiceterm
21 ./spiceterm & remote-viewer spice://localhost:5912
2cc3e3cc
DM
22
23.PHONY: distclean
24distclean: clean
25
26.PHONY: clean
27clean:
28 rm -rf *~ ${PROGRAMS}