History

python: fix pgen build for other archs

cinap_lenrek committed 13 years ago

Commit 8fcedbd1 parent 0c2a4161 file · +9 −2Browse files

Showing the changes to sys/src/cmd/python (1 of 1 file). Show all

Unified · Split

sys/src/cmd/python/Parser/mkfile+9−2
@@ -22,6 +22,12 @@ CLEANFILES=$O.pgen · 21 unmodified lines
2222
2323 CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
2424
25+obmalloc.$O: ../Objects/obmalloc.c
26+ $CC $CFLAGS $prereq
27+
28+mysnprintf.$O: ../Python/mysnprintf.c
29+ $CC $CFLAGS $prereq
30+
2531 PGENOFILES=\
2632 acceler.$O\
2733 bitset.$O\
@@ -37,8 +43,9 @@ PGENOFILES=\ · 9 unmodified lines
3743 pgenmain.$O\
3844 printgrammar.$O\
3945 tokenizer_pgen.$O\
40− ../Objects/obmalloc.$O\
41− ../Python/mysnprintf.$O\
46+ obmalloc.$O\
47+ mysnprintf.$O\
4248
4349 $O.pgen: $PGENOFILES
4450 $LD -o $target $prereq
51+