aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-07-25 15:00:11 +0200
committerAnton Khirnov <anton@khirnov.net>2017-07-25 15:00:46 +0200
commitdb081d09fae12a6d0ff0e82190d669287733a313 (patch)
treeb171273c89eca6442cdb5fa00605d09f4a85f18e
parent66e9408dc592150f7ff541e12f691ea573621266 (diff)
Add the .d files to gitignore/clean target.
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 9d22eb4..83891a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
*.o
+*.d
*.so
diff --git a/Makefile b/Makefile
index 15b21d8..a2eebed 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ $(TARGET): $(OBJS)
yasm -f elf -m amd64 -o $@ $<
clean:
- -rm $(OBJECTS) $(TARGET)
+ -rm -f *.o *.d $(TARGET)
test: $(TARGET)
LD_LIBRARY_PATH=. ./test.py