diff options
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) |