]>
Commit | Line | Data |
---|---|---|
cc04455b | 1 | |
22e5ba02 DM |
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 | |
cc04455b DM |
6 | |
7 | all: ${PROGRAMS} | |
8 | ||
22e5ba02 DM |
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) | |
1d7f2da4 | 14 | |
22e5ba02 DM |
15 | .PHONY: test1 |
16 | test1: test_display_no_ssl | |
1d7f2da4 | 17 | ./test_display_no_ssl & remote-viewer spice://localhost:5912 |
22e5ba02 DM |
18 | |
19 | .PHONY: test2 | |
20 | test2: spiceterm | |
21 | ./spiceterm & remote-viewer spice://localhost:5912 | |
2cc3e3cc DM |
22 | |
23 | .PHONY: distclean | |
24 | distclean: clean | |
25 | ||
26 | .PHONY: clean | |
27 | clean: | |
28 | rm -rf *~ ${PROGRAMS} |