summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Parser
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-12-04 03:05:01 +0100
committercinap_lenrek <cinap_lenrek@gmx.de>2012-12-04 03:05:01 +0100
commit6d47c25f6fd64dd0681477ff248419fe70e495c4 (patch)
tree18dcd58d78a564339f73aaf0f12024b941e7d970 /sys/src/cmd/python/Parser
parent2fcd19f16eafc8ce22407334ee9ae0239f4e0be2 (diff)
python: fix pgen build for other archs
Diffstat (limited to 'sys/src/cmd/python/Parser')
-rw-r--r--sys/src/cmd/python/Parser/mkfile11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/src/cmd/python/Parser/mkfile b/sys/src/cmd/python/Parser/mkfile
index 01557576e..78edcd21d 100644
--- a/sys/src/cmd/python/Parser/mkfile
+++ b/sys/src/cmd/python/Parser/mkfile
@@ -22,6 +22,12 @@ CLEANFILES=$O.pgen
CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG
+obmalloc.$O: ../Objects/obmalloc.c
+ $CC $CFLAGS $prereq
+
+mysnprintf.$O: ../Python/mysnprintf.c
+ $CC $CFLAGS $prereq
+
PGENOFILES=\
acceler.$O\
bitset.$O\
@@ -37,8 +43,9 @@ PGENOFILES=\
pgenmain.$O\
printgrammar.$O\
tokenizer_pgen.$O\
- ../Objects/obmalloc.$O\
- ../Python/mysnprintf.$O\
+ obmalloc.$O\
+ mysnprintf.$O\
$O.pgen: $PGENOFILES
$LD -o $target $prereq
+