diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |
