2013-03-20 05:24:17 +00:00
|
|
|
CC=gcc
|
2014-02-16 09:29:22 +00:00
|
|
|
CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC
|
2013-03-20 05:24:17 +00:00
|
|
|
XENLIBS=-lvchan -lxenstore -lxenctrl
|
|
|
|
LIBS=$(XENLIBS) -lqrexec-utils
|
|
|
|
|
|
|
|
all: qrexec-daemon qrexec-client
|
|
|
|
qrexec-daemon: qrexec-daemon.o
|
|
|
|
$(CC) -pie -g -o qrexec-daemon qrexec-daemon.o $(LIBS)
|
|
|
|
qrexec-client: qrexec-client.o
|
|
|
|
$(CC) -pie -g -o qrexec-client qrexec-client.o $(LIBS)
|
|
|
|
clean:
|
|
|
|
rm -f *.o *~ qrexec-daemon qrexec-client
|