]>
Commit | Line | Data |
---|---|---|
cc04455b | 1 | |
7409b684 | 2 | PROGRAMS=spiceterm |
22e5ba02 | 3 | |
0535e191 | 4 | HEADERS=test_display_base.h basic_event_loop.h glyphs.h spiceterm.h |
22e5ba02 | 5 | SOURCES=test_display_base.c basic_event_loop.c |
cc04455b DM |
6 | |
7 | all: ${PROGRAMS} | |
8 | ||
22e5ba02 | 9 | spiceterm: ${SOURCES} ${HEADERS} spiceterm.c |
abc13312 | 10 | gcc -Werror -Wall -Wtype-limits ${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 | 11 | |
7409b684 DM |
12 | .PHONY: test |
13 | test: spiceterm | |
22e5ba02 | 14 | ./spiceterm & remote-viewer spice://localhost:5912 |
2cc3e3cc DM |
15 | |
16 | .PHONY: distclean | |
17 | distclean: clean | |
18 | ||
19 | .PHONY: clean | |
20 | clean: | |
21 | rm -rf *~ ${PROGRAMS} |