diff --git a/.ajsnapshot b/.ajsnapshot
new file mode 100644
index 0000000..e9f03a4
--- /dev/null
+++ b/.ajsnapshot
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.gitignore b/.gitignore
index 9faab85..5745ec4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@ planning/*
*.o
.tup/*
+/luppp
diff --git a/Tupfile b/Tupfile
index 21da61b..5b8590c 100644
--- a/Tupfile
+++ b/Tupfile
@@ -1,9 +1,9 @@
# Tup build file for Luppp
-#INCLUDES +=
-#LDFLAGS += `pkg-config --libs jack sndfile cairomm-1.0 ntk ntk_images`
+INCLUDES += `pkg-config --cflags jack sndfile cairomm-1.0 ntk ntk_images`
+LDFLAGS += `pkg-config --libs jack sndfile cairomm-1.0 ntk ntk_images`
-: foreach src/*.cxx src/observer/*.cxx src/dsp/*.cxx src/controller/*.cxx |> g++ -Wall -c %f -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/ntk -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -o %o |> %B.o
+: foreach src/*.cxx src/observer/*.cxx src/dsp/*.cxx src/controller/*.cxx |> g++ -Wall -c %f $(INCLUDES) -o %o |> %B.o
-: *.o |> g++ %f -ljack -lpthread -lrt -lsndfile -lcairomm-1.0 -lsigc-2.0 -lntk -lntk_images -lntk -lcairo -o %o |> lup
+: *.o |> g++ %f $(LDFLAGS) -o %o |> luppp
diff --git a/run.sh b/run.sh
index bbd9372..dd2bdea 100755
--- a/run.sh
+++ b/run.sh
@@ -1,7 +1,6 @@
#!/bin/bash
-cd .build/
+xterm -e "sleep 1 && aj-snapshot -r .ajsnapshot" &
-#xterm -e "sleep 1 && aj-snapshot -r luppp5apc.ajs" &
+./luppp
-./luppp5