Help: makefile in Windows

Muddy Coder cosmo_general at
Thu Feb 12 19:11:44 CET 2009

Hi Folks,

I am learning Extending Python, by testing the demo script of
Programming Python. In the book, a makefile for Linux is there, but I
am using Windows currently. I wish somebody would help me to get a
makefile for Windows, my makefile.linux is as below:

PYDIR= c:\Python25
PY = $(PYDIR) hello.c
        gcc hello.c -g -I$(PY)/include -I$(PY) -fpic -share -o
       rm core

Thanks a lot!

Muddy Colder

More information about the Python-list mailing list