Merge pull request #753 from xexyl/2001-anonymous-workaround

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-05-18 23:04:06 +10:00
commit 14d74b9dac
3 files changed
+16 -1

No files matched your search

+1
View File
@@ -4,3 +4,4 @@ ten.bak.od
ten.bak.txt
ten.od
ten.txt
anonymous_tmp
+2 -1
View File
@@ -139,7 +139,8 @@ ${PROG}: ${PROG}.c
X='-DA(X)=#X'; \
warning='-Dprocessor'; \
$$magic $$warning -Dmagic= $$X "-DX=A($$magic \"$$X\")" \
$< -o $@ ${LIBS}
$< -o $@_tmp ${LIBS}
${CP} -af anonymous.sh $@
${PROG}.ten: ${PROG}.ten.c
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
if [[ "$#" -lt 1 ]]; then
exit 1
fi
make >/dev/null 2>&1
if [[ -f "$1" ]]; then
./anonymous_tmp "$1"
./"$1"
fi