From 738abbd3c7f1a1aa4bba7ea6c4ceb470280503f5 Mon Sep 17 00:00:00 2001 From: unxed Date: Sun, 25 Oct 2020 19:25:35 +0300 Subject: [PATCH] incremental builds --- dn_.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dn_.sh b/dn_.sh index 845a06a..4d0d71c 100755 --- a/dn_.sh +++ b/dn_.sh @@ -1,9 +1,11 @@ #/bin/bash -../vp/vpc -B -T -\$S- -\$I- -\$Zd+ -\$Asm+ -\$D+ -\$LocInfo+ version.pas -../vp/pe2elf version.exe -chmod +x version -./version version.inc linux 0 -../vp/vpc -B -T -\$S- -\$I- -\$Zd+ -\$Asm+ -\$D+ -\$LocInfo+ dn.pas +if [ ! -f version.inc ]; then + ../vp/vpc -M -T -\$S- -\$I- -\$Zd+ -\$Asm+ -\$D+ -\$LocInfo+ version.pas + ../vp/pe2elf version.exe + chmod +x version + ./version version.inc linux 0 +fi +../vp/vpc -M -T -\$S- -\$I- -\$Zd+ -\$Asm+ -\$D+ -\$LocInfo+ dn.pas read -n1 -r -p "Press any key (try Ctrl-C to quit DN)..." ../vp/pe2elf dn.exe chmod +x dn