projects
/
free-sw
/
xcb
/
demo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b39e2a
)
Fix the neko makefile to get cflags and libs for all relevant packages.
author
Jamey Sharp
<jamey@minilop.net>
Thu, 20 Apr 2006 04:29:23 +0000
(21:29 -0700)
committer
Jamey Sharp
<jamey@minilop.net>
Thu, 20 Apr 2006 04:29:23 +0000
(21:29 -0700)
neko/Makefile
patch
|
blob
|
history
diff --git
a/neko/Makefile
b/neko/Makefile
index
7aa7abf
..
f58cdc0
100644
(file)
--- a/
neko/Makefile
+++ b/
neko/Makefile
@@
-1,5
+1,6
@@
-CFLAGS = `pkg-config --cflags xcb` -g -Wall -Wpointer-arith -Wstrict-prototypes
-LIBS = `pkg-config --libs xcb-aux xcb-icccm xcb-atom xcb-keysyms` -lm
+pkgs = xcb xcb-aux xcb-icccm xcb-atom xcb-keysyms
+CFLAGS = `pkg-config --cflags $(pkgs)` -g -Wall -Wpointer-arith -Wstrict-prototypes
+LIBS = `pkg-config --libs $(pkgs)` -lm
xcbneko: xcbneko.c
$(CC) $(CFLAGS) xcbneko.c $(LIBS) -o xcbneko