diff options
author | Robert Ou <rqou@robertou.com> | 2017-07-16 20:52:58 -0700 |
---|---|---|
committer | Robert Ou <rqou@robertou.com> | 2017-07-16 20:59:55 -0700 |
commit | 4111f9cca58fb9fd9ed1858ac56524eff294ff11 (patch) | |
tree | 3c9f0778ce075be8dd589a87bddb0ce42e5d9566 /iceprog | |
parent | 917afd1a853599034b101c9e035ee690560b46fa (diff) | |
download | icestorm-4111f9cca58fb9fd9ed1858ac56524eff294ff11.tar.gz icestorm-4111f9cca58fb9fd9ed1858ac56524eff294ff11.tar.bz2 icestorm-4111f9cca58fb9fd9ed1858ac56524eff294ff11.zip |
makefile: Make install target work for Windows
Diffstat (limited to 'iceprog')
-rw-r--r-- | iceprog/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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: |