summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2010-10-21 03:48:35 (GMT)
committerEvan Martin <martine@danga.com>2010-10-21 03:48:35 (GMT)
commit6cdc43eca0f7f07d18719eaa27d54676ab4ab5cb (patch)
tree75222adfeaded4e1743f8ea4d1f9d49fffa4b3cf
parent54741dc29e33214c69a06af6ef8717893960a7bf (diff)
downloadNinja-6cdc43eca0f7f07d18719eaa27d54676ab4ab5cb.zip
Ninja-6cdc43eca0f7f07d18719eaa27d54676ab4ab5cb.tar.gz
Ninja-6cdc43eca0f7f07d18719eaa27d54676ab4ab5cb.tar.bz2
etags
-rw-r--r--.gitignore1
-rw-r--r--Makefile6
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6484956..ad9c7a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
ninja
ninja_test
+TAGS
diff --git a/Makefile b/Makefile
index a22651f..550c581 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
CC=$(CXX)
CXXFLAGS := -Wall -g
-all_i_currently_care_about: ninja_test
+all_i_currently_care_about: tags ninja_test
+
+.PHONY:
+tags:
+ etags *.cc *.h
ninja_test: LDFLAGS = -lgtest -lgtest_main -lpthread
ninja_test: ninja_test.o