summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/c.mk2
-rw-r--r--mk/lexyacc.mk2
2 files changed, 1 insertions, 3 deletions
diff --git a/mk/c.mk b/mk/c.mk
index fc17072..3c807ac 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -20,7 +20,7 @@ BIN ?= $(INSTBIN)
all: subdirs $(BIN) $(LIB) $(EXTRA)
-$(LIB): $(OBJ) $(DEPS)
+$(LIB): $(OBJ) $(EXTRADEP) $(DEPS)
$(AR) -rcs $@ $(OBJ)
$(BIN): $(OBJ) $(EXTRADEP) $(DEPS)
diff --git a/mk/lexyacc.mk b/mk/lexyacc.mk
index b8a8d6c..b8062a1 100644
--- a/mk/lexyacc.mk
+++ b/mk/lexyacc.mk
@@ -1,7 +1,5 @@
.SUFFIXES:
-NECFLAGS = $(subst -Werror,,$(subst -Wall,,$(CFLAGS)))
-
%.h %.c: %.y
yacc -d -o$*.c $<