From 203691fae0d1e03d27cab039243841673589f5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 16 Mar 2015 20:51:28 +0100 Subject: [PATCH] qrexec: simplify makefile --- qrexec/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qrexec/Makefile b/qrexec/Makefile index abf1961..9855451 100644 --- a/qrexec/Makefile +++ b/qrexec/Makefile @@ -1,14 +1,12 @@ 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 +LDFLAGS=-pie +LDLIBS=`pkg-config --libs vchan-$(BACKEND_VMM)` -lqrexec-utils all: qrexec-agent qrexec-client-vm qrexec-fork-server qrexec-agent: qrexec-agent.o qrexec-agent-data.o - $(CC) -pie -g -o qrexec-agent qrexec-agent.o qrexec-agent-data.o $(LIBS) qrexec-fork-server: qrexec-fork-server.o qrexec-agent-data.o - $(CC) -pie -g -o qrexec-fork-server qrexec-fork-server.o qrexec-agent-data.o $(LIBS) qrexec-client-vm: qrexec-client-vm.o - $(CC) -pie -g -o qrexec-client-vm qrexec-client-vm.o clean: rm -f *.o *~ qrexec-agent qrexec-client-vm