summaryrefslogtreecommitdiff
path: root/libvxi11client/Makefile
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-10 19:51:28 +0900
committerdaniel <danieruru@gmail.com>2013-01-10 19:51:28 +0900
commit845db4b79f9b72592e662a6daa5917f84ff12e04 (patch)
tree4de44da03ac0e7e009c9fec3fe299af2158e442d /libvxi11client/Makefile
parentbd451ce0f4855bc2dfd8c19b1f17a5cd60eb6650 (diff)
the interrupt channel works now.
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 $<