summaryrefslogtreecommitdiff
path: root/libvxi11client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libvxi11client/Makefile')
-rw-r--r--libvxi11client/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvxi11client/Makefile b/libvxi11client/Makefile
index 560fb7a..b313b63 100644
--- a/libvxi11client/Makefile
+++ b/libvxi11client/Makefile
@@ -1,9 +1,10 @@
-CFLAGS = -Wall -std=gnu99
+CFLAGS = -Wall -std=gnu99 `pkg-config --cflags gthread-2.0`
+LFLAGS = `pkg-config --libs gthread-2.0`
all: client
client: libvxi11client.o vxi11_clnt.o vxi11_xdr.o client.o
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) -o $@ $^ $(LFLAGS)
client.o: client.c libvxi11client.h
$(CC) $(CFLAGS) -c $<