Wed, 20 May 2026 15:52:17 +0200
fix non-POSIX syntax in update-rules.sh
| make/update-rules.sh | file | annotate | diff | comparison | revisions |
--- a/make/update-rules.sh Wed May 20 15:16:58 2026 +0200 +++ b/make/update-rules.sh Wed May 20 15:52:17 2026 +0200 @@ -30,7 +30,7 @@ sed '/FORCE:/q' Makefile.old > Makefile echo >> Makefile for file in `ls *.c` ; do - "$CC" -MT "$target/${file/.c/.o}" -MM $CFLAGS "$file" + "$CC" -MT "$target/${file%.c}.o" -MM $CFLAGS "$file" printf '\t@echo "Compiling $<"\n' printf '\t$(CC) -o $@ $(CFLAGS) -c $<\n\n' done >> Makefile