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
commit768c027d9ce462f0f24bf72457f4868918d4065e (patch)
treed3f007745e1d2c46ba9f28e5be324b9e12d96f1a /mk
parent83001dc173c4424acfb8ed94c67836ba06f47506 (diff)
downloadmc-768c027d9ce462f0f24bf72457f4868918d4065e.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); \