13 lines
422 B
Makefile
13 lines
422 B
Makefile
CC=gcc
|
|
CFLAGS+=-I. -g -O2 -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)
|
|
clean:
|
|
rm -f *.o *~ qrexec-daemon qrexec-client
|