13 lines
428 B
Makefile
13 lines
428 B
Makefile
CC=gcc
|
|
CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC `pkg-config --cflags vchan-$(BACKEND_VMM)`
|
|
LIBS=`pkg-config --libs vchan-$(BACKEND_VMM)` -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) -lpthread
|
|
clean:
|
|
rm -f *.o *~ qrexec-daemon qrexec-client
|