summaryrefslogtreecommitdiffstats
path: root/test/makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2019-01-21 20:11:29 +0100
committerNao Pross <naopross@thearcway.org>2019-01-21 20:25:38 +0100
commit8a0f6d6eee6162d1a10b20512e2f2c86a0278a34 (patch)
tree44c8202165566c7206bf6ac44b2febed0919588e /test/makefile
parentUpdate wrapsdl2::window to use Renderer instead of Surface (diff)
downloadlibwsdl2-8a0f6d6eee6162d1a10b20512e2f2c86a0278a34.tar.gz
libwsdl2-8a0f6d6eee6162d1a10b20512e2f2c86a0278a34.zip
Add events wrapper
Diffstat (limited to 'test/makefile')
-rw-r--r--test/makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/makefile b/test/makefile
index ee8569a..a2d6800 100644
--- a/test/makefile
+++ b/test/makefile
@@ -9,6 +9,10 @@ OBJS := $(patsubst %.cpp,build/%.o,$(SRCS))
# Recipes
all: build/window_test
+.PHONY: run
+run: build/window_test
+ ./build/window_test
+
build/window_test: build/window_test.o
$(CPP) $(CFLAGS) -o $@ $< $(LFLAGS)