diff --git a/devilspie/Makefile b/devilspie/Makefile index 55f1d62..c9cae33 100644 --- a/devilspie/Makefile +++ b/devilspie/Makefile @@ -1,6 +1,6 @@ PKGINC = $(shell pkg-config --cflags --libs glib-2.0 libwnck-3.0 lua5.1) -all: worked1 +all: build run # gcc *.c -o test run: @@ -11,26 +11,6 @@ run: sleep 3 ./devilspie2 -d -e -f scripts -worked1: - # gcc *.c -o test $(pkg-config --cflags --libs glib-2.0 libwnck-3.0 lua5.1) +build: gcc *.c -o devilspie2 ${PKGINC} \ -lwnck-3 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -llua5.1 -lX11 -lXinerama - # -lwnck-3 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -llua5.1 -lX11 - - -try2: - gcc *.c -o test $(pkg-config --cflags --libs glib-2.0 libwnck-3.0) - -try1: - gcc *.c -o test \ - -I . \ - -I /usr/include/glib-2.0/ \ - -I /usr/lib/x86_64-linux-gnu/glib-2.0/include/ \ - -I /usr/include/gtk-3.0/ \ - -I /usr/include/pango-1.0/ \ - -I /usr/include/libwnck-3.0/ \ - -I /usr/include/harfbuzz/ \ - -I /usr/include/cairo \ - -I /usr/include/gdk-pixbuf-2.0/ \ - -I /usr/include/atk-1.0/ \ - -I /usr/include/lua5.1/