aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 346083c1..d01643a8 100644
--- a/Makefile
+++ b/Makefile
@@ -93,9 +93,16 @@ endif
install-bin:
mkdir -p $(DESTDIR)$(SBINDIR)
$(INSTALL) -m 0755 $(OUTFILE) $(DESTDIR)$(SBINDIR)/$(OUTFILE)
+ifdef IMPLIB
+ # import library for cygwin
+ $(INSTALL) -m 0644 $(IMPLIB) $(DESTDIR)$(LIBDIR)/$(IMPLIB)
+endif
uninstall-bin:
rm -f $(DESTDIR)$(SBINDIR)/$(OUTFILE)
+ifdef IMPLIB
+ rm -f $(DESTDIR)$(LIBDIR)/$(IMPLIB)
+endif
install-dev:
mkdir -p $(DESTDIR)$(INCLUDEDIR)