1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-03-09 20:18:40 +00:00

Add handy building script.

This commit is contained in:
Olaf Seibert
2015-05-04 01:08:45 +02:00
parent d59d61451c
commit 52e89809fc

34
bld/MAKE-ALL Executable file
View File

@@ -0,0 +1,34 @@
#!/bin/sh
# TOP=/some/where/klh10
# Removed "/bld" from current directory, if it's there
TOP="${PWD%/bld}"
BUILD=nbaxp
cd $TOP || exit 1
echo "This script builds all PDP-10 variants."
buildone() {
(
model="$1"
export KLH10_HOME=$TOP/new/${BUILD}-${model}
mkdir -p ${KLH10_HOME}
cd bld/$BUILD
make clean
make base-${model} CONFFLAGS_AUX=-DKLH10_I_CIRC=1
make tapedd vdkfmt wxtest enaddr
make install
)
}
echo "Building KL"
buildone kl
echo "Building KS"
buildone ks
echo "Building KS-ITS"
buildone ks-its