X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=neko%2FMakefile;h=f58cdc0043617c9c4f23102bc4f6322e8445e5a4;hb=8bbb0940943cfa40716c931a199f3134fae32852;hp=7aa7abfcd0bfa5204927eb0670082762ae003b83;hpb=2bde0221929c9774f48d5c3b3b1a28d304a9ff41;p=free-sw%2Fxcb%2Fdemo diff --git a/neko/Makefile b/neko/Makefile index 7aa7abf..f58cdc0 100644 --- 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