summaryrefslogtreecommitdiffstats
path: root/test/makefile
diff options
context:
space:
mode:
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)