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).
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