From: drdani Date: Thu, 21 Sep 2000 09:36:24 +0000 (+0000) Subject: Fix for windows to install s51.exe, not just s51 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=7bcb59bf42498cb2087caa7113ede97abea38677;p=fw%2Fsdcc Fix for windows to install s51.exe, not just s51 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@397 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/sim/ucsim/s51.src/Makefile.in b/sim/ucsim/s51.src/Makefile.in index bcef0b5f..62dc60af 100644 --- a/sim/ucsim/s51.src/Makefile.in +++ b/sim/ucsim/s51.src/Makefile.in @@ -60,7 +60,8 @@ test_ser.ihx: test_ser.rel # Compiling and installing everything and runing test # --------------------------------------------------- install: all installdirs - $(INSTALL) -s s51 $(bindir) + if test -f s51.exe; then $(INSTALL) -s s51.exe $(bindir);fi + if test -f s51; then $(INSTALL) -s s51 $(bindir);fi # Deleting all the installed files