diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 19:04:46 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-01-07 19:04:46 +0100 |
commit | 1b76fb5a73bc610445b9fbda8c686fcbb6180cd0 (patch) | |
tree | 6fda45250520912eebb29df70404ca831fa48042 /Makefile | |
parent | 096ae14001679bf28c2683e6d0292597b1f85910 (diff) | |
download | termgl-1b76fb5a73bc610445b9fbda8c686fcbb6180cd0.tar.gz |
Makefile tweaks
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -6,19 +6,17 @@ BUILDDIR = build OBJ = main.o cObject.o cObjectHandler.o cRender.o cInput.o -prog: $(OBJ) +debug: $(OBJ) mkdir -p $(BUILDDIR) $(CC) $(CFLAGS) -o $(BUILDDIR)/$(OUTPUT) $(OBJ) $(LDFLAGS) %.o: %.cpp $(CC) $(CFLAGS) -c $< -all: - make clean - make +all: clean debug .PHONY: clean clean: rm -f $(BUILDDIR)/$(OUTPUT) *.o - rmdir $(BUILDDIR) + rmdir --ignore-fail $(BUILDDIR) |