# Compiling entire program or any subproject
# ------------------------------------------
-all: checkconf otherlibs s51.src tests
+all: checkconf otherlibs s51.src
tests: test_ser.ihx
# 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