From 4111f9cca58fb9fd9ed1858ac56524eff294ff11 Mon Sep 17 00:00:00 2001 From: Robert Ou Date: Sun, 16 Jul 2017 20:52:58 -0700 Subject: makefile: Make install target work for Windows --- iceprog/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'iceprog') diff --git a/iceprog/Makefile b/iceprog/Makefile index c61b470..d71a9b7 100644 --- a/iceprog/Makefile +++ b/iceprog/Makefile @@ -23,12 +23,12 @@ iceprog$(EXE): iceprog.o install: all mkdir -p $(DESTDIR)$(PREFIX)/bin - cp iceprog $(DESTDIR)$(PREFIX)/bin/iceprog + cp iceprog$(EXE) $(DESTDIR)$(PREFIX)/bin/iceprog$(EXE) mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 install -c -m 644 iceprog.1 $(DESTDIR)$(PREFIX)/share/man/man1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/iceprog + rm -f $(DESTDIR)$(PREFIX)/bin/iceprog$(EXE) rm -f $(DESTDIR)$(PREFIX)/share/man/man1/iceprog.1 clean: -- cgit v1.2.3