add ignore and remove binary file
This commit is contained in:
parent
eacf46ec84
commit
add35a18a6
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
*.o
|
||||
*.a
|
||||
*.so
|
||||
*.out
|
||||
@ -6,7 +6,7 @@ SOURCES=$(wildcard src/**/*.c src/*.c)
|
||||
OBJECTS=$(patsubst %.c,%.o,$(SOURCES))
|
||||
|
||||
TEST_SRC=$(wildcard tests/*_tests.c)
|
||||
TESTS=$(patsubst %.c,%,$(TEST_SRC))
|
||||
TESTS=$(patsubst %.c,%.out,$(TEST_SRC))
|
||||
|
||||
TARGET=build/libYOUR_LIBRARY.a
|
||||
SO_TARGET=$(patsubst %.a,%.so,$(TARGET))
|
||||
@ -46,6 +46,7 @@ clean:
|
||||
rm -rf build $(OBJECTS) $(TESTS)
|
||||
rm -f tests/tests.log
|
||||
find . -name "*.gc*" -exec rm {} \;
|
||||
find . -name "*.out*" -exec rm {} \;
|
||||
rm -rf `find . -name "*.dSYM" -print`
|
||||
|
||||
# The Install
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user