aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-04 01:49:31 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-04 01:49:31 -0400
commitb57877a4f52e7907a4716c8b2c819fd6c654a718 (patch)
treedbf71d5486940665591bd60f8aab4c39d7277e62 /Makefile
parente96a87c60975a5a2ee8dbc827ce2eac9c55ab2a6 (diff)
downloadbw-atari8-tools-b57877a4f52e7907a4716c8b2c819fd6c654a718.tar.gz
Makefile: install symlinks in dev dir, for testing.
Diffstat (limited to 'Makefile')
-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) ; \