# Disable all built-in rules and variables. Speeds up make and simplifies debugging.
MAKEFLAGS+=-rR
-CFLAGS=$(CLANG) $(COPT) $(CDEBUG) $(CWARNS) -I. -I$(o) -I$(s)
-LDFLAGS=$(LOPT)
+CFLAGS=$(CLANG) $(COPT) $(CDEBUG) $(CWARNS) $(CEXTRA) -I. -I$(o) -I$(s)
+LDFLAGS=$(LOPT) $(LEXTRA)
DIRS=
PROGS=
testclean::
rm -f `find obj -name "*.test"`
+# Extra default rules (appended to by submakefiles)
+extras::
+
# Relative symlinks and other pathname manipulation macros
empty:=
space:=$(empty) $(empty)