-export TARGET=roomba_test
-export SOURCES=main.cc
-export CXXFLAGS=-I/usr/include/qt4 -I/usr/include/qt4/QtCore \
- -I/usr/include/qt4/QtGui -lQtGui \
- -I/usr/include/ -I/usr/include/QtCore \
- -I/usr/include/QtGui -lQtGui
+WISELIB_PATH=../..
+WISELIB_STABLE=$(WISELIB_PATH)/wiselib.stable
+WISELIB_TESTING=$(WISELIB_PATH)/wiselib.testing
+QTCXXFLAGS=-I/usr/include/qt4 -I/usr/include/qt4/QtCore \
+ -I/usr/include/qt4/QtGui -I/usr/include/QtCore -I/usr/include/QtGui \
+ -lQtGui
+
+CXX=g++
+LD=ld
+CXXFLAGS=-I$(WISELIB_STABLE) -I$(WISELIB_TESTING) -lpthread
+LDFLAGS=