summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-09 19:17:02 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-01-09 19:17:02 +0100
commit66da4ff4d64af1a06110fa3c6c26af14724c419c (patch)
tree49715d00cded5bd0b36dc928a90aa511d8628512 /Makefile
parent228a648fffe8e9ab708736830987eb005f2ddd5c (diff)
downloadtermgl-66da4ff4d64af1a06110fa3c6c26af14724c419c.tar.gz
Makefile tweaks
Diffstat (limited to 'Makefile')
-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)