Browse Source

Sol Part 62.1: Kids These Days!

master
Graham Northup 5 years ago
parent
commit
9a503deacc
Signed by: grissess GPG Key ID: 5D000E6F539376FB
  1. 10
      Makefile

10
Makefile

@ -14,8 +14,8 @@ ifndef OBJDUMP
OBJDUMP:= objdump
endif
ifndef PREFIX
PREFIX:= /usr/local/
ifndef DESTDIR
DESTDIR:= /usr/local/
endif
include VERSION_INFO
@ -33,13 +33,13 @@ all: dsl $(LINKED_VERS)
install: install_bin
install_bin: sol$(SOL_VER) $(LINKED_VERS)
install $? $(PREFIX)/bin/
install $? $(DESTDIR)/bin/
uninstall: uninstall_bin
uninstall_bin:
rm $(PREFIX)/bin/sol$(SOL_VER)
for fname in $(LINKED_VERS); do rm $(PREFIX)/bin/$$fname; done
rm $(DESTDIR)/bin/sol$(SOL_VER)
for fname in $(LINKED_VERS); do rm $(DESTDIR)/bin/$$fname; done
$(LINKED_VERS): sol$(SOL_VER)
rm $@; ln -s $? $@

Loading…
Cancel
Save