From b57877a4f52e7907a4716c8b2c819fd6c654a718 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 4 May 2024 01:49:31 -0400 Subject: Makefile: install symlinks in dev dir, for testing. --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) ; \ -- cgit v1.2.3