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
22 22
23CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG23CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
24 24
25obmalloc.$O: ../Objects/obmalloc.c
26 $CC $CFLAGS $prereq
27
28mysnprintf.$O: ../Python/mysnprintf.c
29 $CC $CFLAGS $prereq
30
25PGENOFILES=\31PGENOFILES=\
26 acceler.$O\32 acceler.$O\
27 bitset.$O\33 bitset.$O\
@@ -37,8 +43,9 @@ PGENOFILES=\ · 9 unmodified lines
37 pgenmain.$O\43 pgenmain.$O\
38 printgrammar.$O\44 printgrammar.$O\
39 tokenizer_pgen.$O\45 tokenizer_pgen.$O\
40 ../Objects/obmalloc.$O\46 obmalloc.$O\
41 ../Python/mysnprintf.$O\47 mysnprintf.$O\
42 48
43$O.pgen: $PGENOFILES49$O.pgen: $PGENOFILES
44 $LD -o $target $prereq50 $LD -o $target $prereq
51