commit: e7515905efa6cc0aed8b67ac815c9603384ba872
parent a0078c01ea1e474360c0f33ec4440cd02a6a5f36
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 25 Jun 2024 11:55:39 +0200
init.sh: Use pdpmake to build awk
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/init.sh b/init.sh
@@ -20,9 +20,8 @@ profile_export() {
build_awk() {
cd /awk-*/
yacc -d -b awkgram awkgram.y
- $CC -o maketab maketab.c
- ./maketab awkgram.tab.h >proctab.c
- $CC -o /bin/awk awkgram.tab.c b.c main.c parse.c proctab.c tran.c lib.c run.c lex.c
+ pdpmake -e HOSTCC=$CC
+ cp -p a.out /bin/awk
}
build_stubs() {