summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-04-14 00:24:29 -0700
committerOri Bernstein <ori@eigenstate.org>2015-04-14 00:24:29 -0700
commit3ccf3f0a5e3c33e3722a9ea29134ea5a7dacf041 (patch)
treed3f007745e1d2c46ba9f28e5be324b9e12d96f1a /mk
parent4457a03154b82d5e5e60a98b6ad5f217436c64b5 (diff)
downloadmc-3ccf3f0a5e3c33e3722a9ea29134ea5a7dacf041.tar.gz
Add support for all the usual targets.
Diffstat (limited to 'mk')
-rw-r--r--mk/c.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/c.mk b/mk/c.mk
index 45a249a..696d0cb 100644
--- a/mk/c.mk
+++ b/mk/c.mk
@@ -52,7 +52,7 @@ subdirs-install:
clean: subdirs-clean $(EXTRACLEAN)
rm -f ${BIN} ${OBJ} ${CLEAN} ${LIB}
-install: subdirs-install $(INSTBIN) $(INSTLIB) $(INSTHDR) $(INSTPKG)
+install: subdirs-install $(INSTBIN) $(INSTLIB) $(INSTHDR) $(INSTPKG) $(EXTRAINSTALL)
@for i in $(INSTBIN); do \
echo install $(abspath $$i $(DESTDIR)/$(INST_ROOT)/bin); \
mkdir -p $(abspath $(DESTDIR)/$(INST_ROOT)/bin); \
@@ -87,7 +87,7 @@ subdirs-uninstall:
exit 1 \
); done
-uninstall: subdirs-uninstall
+uninstall: subdirs-uninstall $(EXTRAUNINSTALL)
@for i in $(INSTBIN); do \
echo rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/bin/$$i); \
rm -f $(abspath $(DESTDIR)/$(INST_ROOT)/bin/$$i); \