diff options
author | kdx <kikoodx@paranoici.org> | 2023-06-12 12:07:57 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-06-12 12:07:57 +0200 |
commit | 762808190ed93824ba3e4139a153ebf0699bb3f8 (patch) | |
tree | 14b516c2ab1e56d8f941b452f81f4330e6db2ce9 /embed.sh | |
parent | 0bf3be956c9cc8d919aea9f1c6f4ab7f3b735a52 (diff) | |
download | orga-762808190ed93824ba3e4139a153ebf0699bb3f8.tar.gz |
makefile
Diffstat (limited to 'embed.sh')
-rwxr-xr-x | embed.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -./build.sh +make -Bj "$2" TMPASM="$(mktemp)" cd "$(dirname "$1")" || exit 1 m4 "$(basename "$1")" >"$TMPASM" || exit 1 @@ -7,7 +7,7 @@ cd "$OLDPWD" || exit 1 ./orgaasm "$TMPASM" rom || exit 1 cembed rom >src/rom.h || exit 1 rm -f rom -./build.sh -DEMBED_ROM= +make -Bj EMBED=true "$2" OUT="$(basename "$1" .orgaasm)" printf '%s\n' "$OUT" mv orgaemu "$OUT" |