aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/rules.mk b/rules.mk
index 4e2730a..94de391 100644
--- a/rules.mk
+++ b/rules.mk
@@ -6,9 +6,9 @@ $(foreach V,$(filter %.SRCS, ${.VARIABLES}),\
)
# extra flags
-CFLAGS += -isysteminclude -I../lib \
+CFLAGS += -I../lib \
-Werror=implicit-function-declaration
-CXXFLAGS += -isysteminclude -I../lib -Drestrict=__restrict__ \
+CXXFLAGS += -I../lib -Drestrict=__restrict__ \
-Werror=shadow
# Suffix rules
@@ -57,7 +57,6 @@ clean.base: FORCE
@echo " -> Cleaning $(shell pwd | xargs basename)"
@$(foreach V,$(filter %.OBJS, ${.VARIABLES}), rm -rf $($(V)))
@rm -rf *.a
- @rm -rf include
@rm -rf tst/test_*
%: %.base ;