summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2241f807..8216270e 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ include config.mk
INCLUDES=-I$(INCDIR) -I. -Inonstd/stubs
CFLAGS=$(INCLUDES) -g -fno-builtin -nostdinc -nostdlib -nodefaultlibs -Werror -Wall -Wextra -fPIC -D_POSIX_SOURCE
-all: .deps.mk headers
+all: .deps.mk include
@$(MAKE) -f .deps.mk $@
.deps.mk:
@@ -23,6 +23,9 @@ deps:
tags:
ctags $$(find src -name \*.c)
+include:
+ $(MAKE) headers
+
headers: .headers.mk
@$(MAKE) -f .headers.mk $@