summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a9dc6ee..7bc7774 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,10 @@ debug: $(OBJ)
$(CC) $(CFLAGS) -o $(BUILDDIR)/$(OUTPUT) $(OBJ) $(LDFLAGS)
%.o: %.cpp
+ @echo
+ @echo Building $<
+ @echo ==============
+ @echo
$(CC) $(CFLAGS) -c $<
all: clean debug
@@ -19,3 +23,6 @@ all: clean debug
clean:
rm -df $(BUILDDIR)/$(OUTPUT) *.o
+
+run: debug
+ ./$(BUILDDIR)/$(OUTPUT)