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/xml
docs/build docs/build
docs/src docs/src
doc/doc*
*.tmp *.tmp
*.swo *.swo
*.swp *.swp

View File

@ -19,6 +19,8 @@ else
endif endif
endif endif
$(BIN): $(BIN): clean
rm -f $(BIN) $(OBJS)
$(CC) $(SRC) $(CFLAGS) -o $(BIN) $(CC) $(SRC) $(CFLAGS) -o $(BIN)
clean:
rm -f $(BIN) $(OBJS)