summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-06-17 00:05:53 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-06-17 00:05:53 (GMT)
commit8ab2ec432ae87f93e332883221831cb2febc5c25 (patch)
tree6da79fab6c7d657af2e7f4587c6c2f77a8a66f6a /Parser
parent98a379eda141e98aac8e9c6e5f63c9ac9c1dc84a (diff)
downloadcpython-8ab2ec432ae87f93e332883221831cb2febc5c25.zip
cpython-8ab2ec432ae87f93e332883221831cb2febc5c25.tar.gz
cpython-8ab2ec432ae87f93e332883221831cb2febc5c25.tar.bz2
SF bug 751956: graminit.[ch] don't build on windows
A change from Duncan Booth, to deal with changes in the way pgen gets built. Note that graminit.[ch] aren't normally built on Windows (they're obtained from CVS).
Diffstat (limited to 'Parser')
-rw-r--r--Parser/grammar.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/Parser/grammar.mak b/Parser/grammar.mak
index 3463d64..a6f1abe 100644
--- a/Parser/grammar.mak
+++ b/Parser/grammar.mak
@@ -2,6 +2,9 @@
#
# nmake /f grammar.mak
#
+# You may also need to copy python23.dll into this directory, or get
+# it on your search path.
+#
# The intermediate files can be nuked afterwards:
#
# nmake /f grammar.mak clean
@@ -14,7 +17,7 @@
LIBS= ..\PCbuild\python23.lib
-CFLAGS= /I ..\Include /I ..\PC /D MS_NO_COREDLL /MD
+CFLAGS= /I ..\Include /I ..\PC /D MS_NO_COREDLL /D PGEN /MD
GRAMMAR_H= ..\Include\graminit.h
GRAMMAR_C= ..\Python\graminit.c