]> git.proxmox.com Git - spiceterm.git/blob - Makefile
add first version of spiceterm (copied from vncterm)
[spiceterm.git] / Makefile
1
2 PROGRAMS=test_display_no_ssl spiceterm
3
4 HEADERS=test_display_base.h basic_event_loop.h ring.h glyphs.h spiceterm.h
5 SOURCES=test_display_base.c basic_event_loop.c
6
7 all: ${PROGRAMS}
8
9 test_display_no_ssl: ${SOURCES} ${HEADERS} test_display_no_ssl.c
10 gcc ${SOURCES} test_display_no_ssl.c -o $@ $(shell pkg-config --cflags --libs spice-protocol,spice-server)
11
12 spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
13 gcc ${SOURCES} spiceterm.c -o $@ -lutil $(shell pkg-config --cflags --libs spice-protocol,spice-server)
14
15 .PHONY: test1
16 test1: test_display_no_ssl
17 ./test_display_no_ssl & remote-viewer spice://localhost:5912
18
19 .PHONY: test2
20 test2: spiceterm
21 ./spiceterm & remote-viewer spice://localhost:5912