From 66da4ff4d64af1a06110fa3c6c26af14724c419c Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Wed, 9 Jan 2019 19:17:02 +0100 Subject: Makefile tweaks --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- cgit v1.2.3