From 1ef89f2b2d10f21199c08e1643c9cad25cffb2b0 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 31 Jan 2019 20:34:08 -0500 Subject: add deps and tags targets --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 $@ -- cgit v1.2.1