diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-09 19:17:02 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-09 19:17:02 +0100 |
commit | 66da4ff4d64af1a06110fa3c6c26af14724c419c (patch) | |
tree | 49715d00cded5bd0b36dc928a90aa511d8628512 | |
parent | 228a648fffe8e9ab708736830987eb005f2ddd5c (diff) | |
download | termgl-66da4ff4d64af1a06110fa3c6c26af14724c419c.tar.gz |
Makefile tweaks
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |