diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-12-01 21:29:53 +0100 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-12-01 21:29:53 +0100 |
commit | ac18b3132059b5e7d5f00ccf2b56e543cf0da84b (patch) | |
tree | 490654385bf6aa87f160f79006a12289c20322e6 /Makefile | |
parent | dcaa318d677a1a6881ccc87640ae75c0fc578bfb (diff) |
DAT GAME
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) $^ |