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/xml
|
||||||
docs/build
|
docs/build
|
||||||
docs/src
|
docs/src
|
||||||
|
doc/doc*
|
||||||
*.tmp
|
*.tmp
|
||||||
*.swo
|
*.swo
|
||||||
*.swp
|
*.swp
|
||||||
|
@ -13,12 +13,14 @@ LIBS =
|
|||||||
else
|
else
|
||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
ifeq ($(UNAME_S),Darwin)
|
ifeq ($(UNAME_S),Darwin)
|
||||||
LIBS =
|
LIBS =
|
||||||
else
|
else
|
||||||
LIBS =
|
LIBS =
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user