doc: Add clean up, and git ignore the binary
This commit is contained in:
parent
4848a03282
commit
351e5d7296
1
.gitignore
vendored
1
.gitignore
vendored
@ -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 =
|
||||
else
|
||||
LIBS =
|
||||
endif
|
||||
endif
|
||||
|
||||
$(BIN):
|
||||
rm -f $(BIN) $(OBJS)
|
||||
$(BIN): clean
|
||||
$(CC) $(SRC) $(CFLAGS) -o $(BIN)
|
||||
|
||||
clean:
|
||||
rm -f $(BIN) $(OBJS)
|
||||
|
Loading…
Reference in New Issue
Block a user