2013-03-20 05:24:17 +00:00
|
|
|
CC=gcc
|
2013-04-22 03:16:10 +00:00
|
|
|
CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC `pkg-config --cflags vchan-$(BACKEND_VMM)`
|
|
|
|
LIBS=`pkg-config --libs vchan-$(BACKEND_VMM)` -lqrexec-utils
|
|
|
|
|
2013-03-20 05:24:17 +00:00
|
|
|
|
|
|
|
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
|
2014-09-09 22:12:18 +00:00
|
|
|
$(CC) -pie -g -o qrexec-client qrexec-client.o $(LIBS)
|
2013-03-20 05:24:17 +00:00
|
|
|
clean:
|
|
|
|
rm -f *.o *~ qrexec-daemon qrexec-client
|