commit 25711823d6c03d67cf1aa2b4b3d05a667412aec4 from: Benjamin Stürz date: Mon Nov 11 00:22:29 2024 UTC minor changes commit - bf45a9adcbbe7a53758e93e765c8f8fab43aaa1c commit + 25711823d6c03d67cf1aa2b4b3d05a667412aec4 blob - a5f5c68898ebcc73ca616aebf96a0aff76c10faf blob + 0d0f9d51ff160408707381c0f26a8d8915b5d8cd --- bootstrap +++ bootstrap @@ -7,7 +7,10 @@ mkdir -p tools/bin ${CC} -o 'tools/bin/mk' 'make/make.c' ${CFLAGS} +./tools/bin/mk clean ./tools/bin/mk CC="${CC}" PREFIX="${PWD}/tools" cc/yacc/install +./tools/bin/mk clean + ln -sf yacc tools/bin/xyacc echo 'Please run:' blob - 7d3d7fd9a048d52f07e4e4a0bf56407d9b4afd41 blob + 8ff4d7d982182758a976eb2cf511c1dacc9c2163 --- cc/cc1/MyMakefile +++ cc/cc1/MyMakefile @@ -15,7 +15,7 @@ run: cc1 ../irc/irc cc1: lex.o parse.o gen.o main.o ${CC} -o $@ $* ${CFLAGS} -parse.o y.tab.h: parse.y ../yacc/yacc +parse.o y.tab.h: parse.y ${YACC} ${YFLAGS} parse.y ${CC} -c -o parse.o y.tab.c ${CFLAGS} rm -f y.tab.c blob - 105c712cb4c1b3fce9ca243722632ca420e91d55 blob + 56bb6d0c4b52dfdd3966f6df919888ec7d57ed44 --- cc/cpp/MyMakefile +++ cc/cpp/MyMakefile @@ -11,7 +11,7 @@ test: cpp cpp: cpp.o cpy.o ${CC} -o $@ $* ${CFLAGS} -cpy.o: cpy.y yylex.c ../yacc/yacc +cpy.o: cpy.y yylex.c ${YACC} cpy.y ${CC} -c -o $@ y.tab.c ${CFLAGS} rm -f y.tab.c