summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 675fb50b6..b69ddb2b9 100644
--- a/Makefile
+++ b/Makefile
@@ -2,10 +2,11 @@ CC=gcc
CFLAGS=-Wall -Wno-pointer-sign -g
parse: main.o parse.o
- $(CC) $(LDLAGS) -o parse main.o parse.o `xml2-config --libs`
+ $(CC) $(LDLAGS) -o parse main.o parse.o `xml2-config --libs` \
+ `pkg-config --libs gtk+-2.0`
parse.o: parse.c dive.h
$(CC) $(CFLAGS) -c `xml2-config --cflags` parse.c
main.o: main.c dive.h
- $(CC) $(CFLAGS) -c main.c
+ $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c main.c