summaryrefslogtreecommitdiff
path: root/mk/c.mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-08-19 00:17:55 -0400
committerOri Bernstein <ori@eigenstate.org>2014-08-19 00:17:55 -0400
commit4ca9e2fd9c0213a83b79554dd76d3e19aa6adec7 (patch)
tree08c81e870453d6789d1d8c57eae7a8e6a20597db /mk/c.mk
parent0d51143d005aaec1dc0bfdcede3cc0cac86d925f (diff)
downloadmc-4ca9e2fd9c0213a83b79554dd76d3e19aa6adec7.tar.gz
A little bit more cleanup.
$(EXTRADEP) now works for both lib and bin targets, and lexyacc.mk doesn't gratuitously define extra variables.
Diffstat (limited to 'mk/c.mk')
-rw-r--r--mk/c.mk2
1 files changed, 1 insertions, 1 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)