documentation: Remove the "doc" binary from repo (it is being rebuilt on demand anyway)
@@ -5,6 +5,7 @@ example/bin/*
docs/xml
docs/build
docs/src
+doc/doc*
*.tmp
*.swo
*.swp
@@ -13,12 +13,14 @@ LIBS =
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
- LIBS =
+ LIBS =
LIBS =
endif
-$(BIN):
- rm -f $(BIN) $(OBJS)
+$(BIN): clean
$(CC) $(SRC) $(CFLAGS) -o $(BIN)
+
+clean:
+ rm -f $(BIN) $(OBJS)