aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9baa7a7..d2db120 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ RST2MAN=rst2man
# "make clean" and "make distclean" will not delete the 6502 object
# code (the *.bin files), but "make realclean" will.
-all: $(BINS) manpages
+all: $(BINS) manpages symlinks
a8eol: a8eol.c
@@ -125,6 +125,14 @@ unmac65.xex: unmac65.c
axe: axe.c axe.h axelib.c
+symlinks: atrcheck cart2rom
+
+atrcheck: atr2xfd
+ ln -s atr2xfd atrcheck
+
+cart2rom: rom2cart
+ ln -s rom2cart cart2rom
+
manpages: $(MANS) $(MAN5S) $(MAN7S)
%.1: %.rst manhdr.rst manftr.rst
@@ -149,7 +157,7 @@ realclean: distclean
rm -f *.bin *_bin.[ch] *_offsets.h $(MANS) $(MAN5S) $(MAN7S)
install: all
- mkdir -p $(DESTDIR)/$(BINDIR) $(DESTDIR)/$(MAN1DIR) $(DESTDIR)/$(MAN5DIR) $(DESTDIR)/$(DOCDIR)
+ mkdir -p $(DESTDIR)/$(BINDIR) $(DESTDIR)/$(MAN1DIR) $(DESTDIR)/$(MAN5DIR) $(DESTDIR)/$(MAN7DIR) $(DESTDIR)/$(DOCDIR)
strip $(BINS)
for i in $(BINS) $(SCRIPTS) ; do \
install -m0755 -oroot -groot $$i $(DESTDIR)/$(BINDIR) ; \