Fix for windows to install s51.exe, not just s51
authordrdani <drdani@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 21 Sep 2000 09:36:24 +0000 (09:36 +0000)
committerdrdani <drdani@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 21 Sep 2000 09:36:24 +0000 (09:36 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@397 4a8a32a2-be11-0410-ad9d-d568d2c75423

sim/ucsim/s51.src/Makefile.in

index bcef0b5f49d60a0f40da9806e5eddd7635ecd5c2..62dc60af35056f79519fcf8e217ee3fef9d55416 100644 (file)
@@ -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