projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for windows to install s51.exe, not just s51
[fw/sdcc]
/
sim
/
ucsim
/
s51.src
/
Makefile.in
diff --git
a/sim/ucsim/s51.src/Makefile.in
b/sim/ucsim/s51.src/Makefile.in
index bcef0b5f49d60a0f40da9806e5eddd7635ecd5c2..62dc60af35056f79519fcf8e217ee3fef9d55416 100644
(file)
--- 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
# 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
# Deleting all the installed files