--- code/hardware/Makefile.old 2009-07-18 16:55:42.000000000 -0700
+++ code/hardware/Makefile 2009-07-18 16:56:15.000000000 -0700
# Distributed under the terms of the GNU Lesser General Public License
# (LGPL). See the license.txt that came with this file.
-all: eeg sound vr rt eventpoll.so timing.so keyboard.so joystick.so mouse.so
+all: sound vr rt eventpoll.so timing.so keyboard.so joystick.so mouse.so
gcc -shared eventpoll.o -o eventpoll.so
- gcc -c -fPIC -I/usr/include/python2.3/ eventpoll.c
+ gcc -c -fPIC -I@@PYTHON.INC@@ eventpoll.c
eventpoll.c: eventpoll.pyx
gcc -shared timing.o -o timing.so
- gcc -c -fPIC -I/usr/include/python2.3/ timing.c
+ gcc -c -fPIC -I@@PYTHON.INC@@ timing.c
gcc -shared keyboard.o -o keyboard.so
- gcc -c -fPIC -I/usr/include/python2.3/ keyboard.c
+ gcc -c -fPIC -I@@PYTHON.INC@@ keyboard.c
gcc -shared joystick.o -o joystick.so
- gcc -c -fPIC -I/usr/include/python2.3/ joystick.c
+ gcc -c -fPIC -I@@PYTHON.INC@@ joystick.c
gcc -shared mouse.o -o mouse.so
- gcc -c -fPIC -I/usr/include/python2.3/ mouse.c
+ gcc -c -fPIC -I@@PYTHON.INC@@ mouse.c
gcc -bundle -flat_namespace -undefined suppress eventpoll.o -o eventpoll.so
- gcc -fPIC -c eventpoll.c -I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3//
+ gcc -fPIC -c eventpoll.c -I@@PYTHON.INC@@