1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-26 12:12:12 +00:00

Init and update submodule contents if they are empty.

This commit is contained in:
Lars Brinkhoff
2018-03-27 19:24:08 +02:00
committed by Eric Swenson
parent 9c7c40e19a
commit bbc2beba8f
2 changed files with 7 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ SRC = system syseng sysen1 sysen2 sysen3 sysnet kshack dragon channa \
DOC = info _info_ sysdoc sysnet syshst kshack _teco_ emacs emacs1 c kcc chprog
BIN = sys2 emacs _teco_ lisp liblsp alan inquir sail comlap c decsys moon graphs
SUBMODULES = dasm itstar klh10 mldev simh sims supdup tapeutils
# These files are used to create bootable tape images.
RAM = bin/ks10/boot/ram.262
NSALV = bin/ks10/boot/salv.rp06
@@ -26,8 +28,9 @@ WRITETAPE=${PWD}/tools/tapeutils/tapewrite
MAGFRM=${PWD}/tools/dasm/magfrm
H3TEXT=$(shell cd build; ls h3text.*)
SMF:=$(addprefix tools/,$(addsuffix /.gitignore,$(SUBMODULES)))
all: out/$(EMULATOR).stamp tools/supdup/supdup
all: $(SMF) out/$(EMULATOR).stamp tools/supdup/supdup
out/klh10.stamp out/simh.stamp: out/rp0.dsk
touch $@
@@ -134,5 +137,8 @@ $(MAGFRM):
tools/supdup/supdup:
cd tools/supdup; make
$(SMF):
git submodule update --init `dirname $@`
clean:
rm -rf out start build/*/stamp src/system/config.* src/syshst/h3text.*