sdlterm/Makefile
changeset 72 6e0656600754
parent 47 537d7c6b48a2
--- a/sdlterm/Makefile	Wed Jan 30 00:38:48 2013 +0100
+++ b/sdlterm/Makefile	Wed Jan 30 19:44:01 2013 +0100
@@ -1,8 +1,11 @@
 CXXFLAGS=`sdl-config --cflags` -g -Wall -std=c++11 -Isrc
 LDFLAGS=`sdl-config --libs` -lSDL_ttf
-VPATH=src
+VPATH=src tests
 
-demo: demo.cc sdlterm.cc sdlterm.h
+all: test_sdlterm test_sdl_events
+
+test_sdlterm: test_sdlterm.cc sdlterm.cc sdlterm.h
+test_sdl_events: test_sdl_events.cc
 
 clean:
-	rm -f demo
+	rm -f test_sdlterm test_sdl_events