PKGINC = $(shell pkg-config --cflags --libs glib-2.0 libwnck-3.0 lua5.1) all: build run # 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 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