Help: makefile in Windows

Muddy Coder cosmo_general at yahoo.com
Thu Feb 12 13:11:44 EST 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.so: hello.c
        gcc hello.c -g -I$(PY)/include -I$(PY) -fpic -share -o
hello.so
clean:
       rm hello.so core



Thanks a lot!


Muddy Colder



More information about the Python-list mailing list