From ac18b3132059b5e7d5f00ccf2b56e543cf0da84b Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 1 Dec 2015 21:29:53 +0100 Subject: DAT GAME --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 05676ee..a7baecc 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ base_src := $(wildcard *_base.cpp) base_src += library.cpp main.cpp base_obj := $(patsubst %.cpp,build/%.o,$(base_src)) -.PHONY: all clean remake +.PHONY: all clean remake run #keep all intermediate files! .SECONDARY: @@ -24,6 +24,9 @@ clean: remake: clean all +run: all + ./$(BIN) + $(BIN): $(base_obj) $(object_obj) $(CXX) $(CXXFLAGS) $(LIBS) -o $(BIN) $^ -- cgit v1.2.3-70-g09d2