]> git.proxmox.com Git - spiceterm.git/blame_incremental - Makefile
add copyright (GPLv2)
[spiceterm.git] / Makefile
... / ...
CommitLineData
1
2PROGRAMS=spiceterm
3
4HEADERS=translations.h event_loop.h glyphs.h spiceterm.h
5SOURCES=screen.c event_loop.c spiceterm.c
6
7all: ${PROGRAMS}
8
9spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
10 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)
11
12.PHONY: test
13test: spiceterm
14 ./spiceterm & remote-viewer spice://localhost:5912
15
16.PHONY: distclean
17distclean: clean
18
19.PHONY: clean
20clean:
21 rm -rf *~ ${PROGRAMS}