add "make install", installing the tools with pdp10-elf- prefixes

This commit is contained in:
Mikael Pettersson 2023-08-24 21:25:29 +02:00
parent a55acb51f5
commit 4adb051325
2 changed files with 9 additions and 0 deletions

View File

@ -21,6 +21,9 @@ SUBDIRS= erlang
all:
make TARGET= subdirs
install:
make TARGET=install subdirs
clean:
make TARGET=clean subdirs

View File

@ -38,6 +38,12 @@ link: $(REBAR3)
test:
$(REBAR3) eunit
install:
mkdir -p ../bin
for PROG in $(PROGRAMS); do \
cp _build/default/bin/$$PROG ../bin/pdp10-elf-$$PROG; \
done
distclean realclean: clean
rm -f ./rebar3