diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-01-31 20:34:08 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-01-31 20:34:08 -0500 |
| commit | 1ef89f2b2d10f21199c08e1643c9cad25cffb2b0 (patch) | |
| tree | da71ef01d816cd5f63743f51d652f06c641588e1 /Makefile | |
| parent | 1e49cd3ef2b495fa2718544355da5617386e6268 (diff) | |
add deps and tags targets
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 $@ |
