summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5c8b77fb..2ba91b41 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,14 @@
AR=ar
ARFLAGS=rU
-BASE_CFLAGS=-g -Wall -Wextra -nostdinc -Iinclude -Isrc
+BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -Iinclude -Isrc
OBJDIR=obj
SRCDIR=src
all: libc_C.0
-include mk/all.mk
include .config.mk
+include mk/all.mk
cleandeps:
$(RM) -f mk/*.mk
@@ -19,6 +19,9 @@ newdeps: cleandeps
printf '.POSIX:\n\nall:\n\n' > mk/deps.mk
for i in $$(find src -name \*.c); do sh mk/deps.sh $$i; done
+deps:
+ $(MAKE) -f mk/deps.mk
+
clean:
$(RM) -rf *.a $(OBJDIR)