diff --git a/Makefile b/Makefile index 6c13257..a59ac0f 100644 --- a/Makefile +++ b/Makefile @@ -62,4 +62,4 @@ utils: ${SRC}/utils.c .PHONY: clean clean: - rm build/* bin/* + rm build/[^.]* bin/[^.]* diff --git a/bin/.gitignore b/bin/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/bin/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 0000000..5e7d273 --- /dev/null +++ b/build/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore