summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 84293e6e..e7302519 100644
--- a/Makefile
+++ b/Makefile
@@ -10,14 +10,17 @@ CFLAGS=$(INCLUDES) -g -fno-builtin -nostdinc -nostdlib -nodefaultlibs -Werror -W
all: .deps.mk headers
@$(MAKE) -f .deps.mk $@
-.deps.mk:
- sh mkmf.sh $(STANDARD)
- rm -rf .dep
+.deps.mk: deps
-.headers.mk:
+.headers.mk: deps
+
+deps:
sh mkmf.sh $(STANDARD)
rm -rf .dep
+tags:
+ ctags $$(find src -name \*.c)
+
headers: .headers.mk
@$(MAKE) -f .headers.mk $@