# Compiling and installing everything and runing test
# ---------------------------------------------------
install: all installdirs
- $(INSTALL) -s s51$(EXEEXT) $(bindir)
+ $(INSTALL) -s s51$(EXEEXT) $(DESTDIR)$(bindir)
# Deleting all the installed files
# --------------------------------
uninstall:
- rm -f $(bindir)/s51$(EXEEXT)
+ rm -f $(DESTDIR)$(bindir)/s51$(EXEEXT)
# Performing self-test
# Creating installation directories
# ---------------------------------
installdirs:
- test -d $(bindir) || $(INSTALL) -d $(bindir)
+ test -d $(DESTDIR)$(bindir) || $(INSTALL) -d $(DESTDIR)$(bindir)
# Creating dependencies