Annotation of nono/m680x0/merge.sh, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: #
                      3: # nono
                      4: # Copyright (C) 2024 nono project
                      5: # Licensed under nono-license.txt
                      6: #
                      7: 
                      8: mv_if()
                      9: {
                     10:        local newfile=$1
                     11:        local targetfile=$2
                     12: 
                     13:        if ! cmp -s "$newfile" "$targetfile"; then
                     14:                echo $targetfile
                     15:                mv $newfile $targetfile
                     16:        fi
                     17: }
                     18: 
                     19: php gentable.php switch10
                     20: 
                     21: mv_if ops.h.new m680x0ops.h
                     22: mv_if switch.h.new m680x0switch.h
                     23: 
                     24: php ../util/merge_ops/merge_ops.php ops.cpp.new m680x0ops.cpp > ops.new
                     25: mv_if ops.new m680x0ops.cpp
                     26: php ../util/merge_ops/merge_ops.php ops.cpp.new m680x0disasm.cpp > dis.new
                     27: mv_if dis.new m680x0disasm.cpp

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.