37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
PKGINC = $(shell pkg-config --cflags --libs glib-2.0 libwnck-3.0 lua5.1)
|
|
|
|
all: worked1
|
|
# gcc *.c -o test
|
|
|
|
run:
|
|
# lists out windows found?
|
|
echo apt install lua-posix
|
|
./devilspie2 -l
|
|
./devilspie2 -w
|
|
sleep 3
|
|
./devilspie2 -d -e -f scripts
|
|
|
|
worked1:
|
|
# gcc *.c -o test $(pkg-config --cflags --libs glib-2.0 libwnck-3.0 lua5.1)
|
|
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/
|