doc: Add clean up, and git ignore the binary

This commit is contained in:
Rob Loach 2023-07-09 22:18:20 -04:00
parent 4848a03282
commit 351e5d7296
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@ example/bin/*
docs/xml
docs/build
docs/src
doc/doc*
*.tmp
*.swo
*.swp

View File

@ -13,12 +13,14 @@ LIBS =
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
LIBS =
LIBS =
else
LIBS =
endif
endif
$(BIN):
rm -f $(BIN) $(OBJS)
$(BIN): clean
$(CC) $(SRC) $(CFLAGS) -o $(BIN)
clean:
rm -f $(BIN) $(OBJS)