   
   tilewrapper-uninstall:
 ***************
-*** 760,766 ****
+*** 760,773 ****
   GMP_UNINSTALL += lib/libgmp.* 
   GMP_UNINSTALL += include/gmp.h
   
 - 
   gmp: ${GMP}.tar.gz
   	tar -xzf ${GMP}.tar.gz
-  	cd ${GMP}; ./configure --prefix=${PREFIX} 
---- 771,776 ----
-***************
-*** 768,773 ****
---- 778,784 ----
+! 	cd ${GMP}; ./configure --prefix=${PREFIX} 
+  	make -C ${GMP}
+  	make -C ${GMP} check
+  	make -C ${GMP} install
+  	touch gmp
+  
+  gmp-clean: 
+  	rm -rf ${GMP} 
+--- 764,777 ----
+  GMP_UNINSTALL += lib/libgmp.* 
+  GMP_UNINSTALL += include/gmp.h
+  
+  gmp: ${GMP}.tar.gz
+  	tar -xzf ${GMP}.tar.gz
+! 	cd ${GMP}; ./configure --prefix=${PREFIX_FWD} 
+  	make -C ${GMP}
   	make -C ${GMP} check
   	make -C ${GMP} install
   	touch gmp

  
  all: default pyaudiolab mlabwrap scipy ipython pyrex pytables psyco gnuplotpy
  
--- 1,23 ----
! BACK_PREFIX = $(shell echo ${dir ${CURDIR}} | sed 's/\///'  | sed 's/\//:\//' | sed 's/\//\\/g' | sed 's/\(.*\)./\1/')
! PREFIX = $(shell echo ${dir ${CURDIR}} | sed 's/\///'  | sed 's/\//:\//' | sed 's/\(.*\)./\1/')
! # awful conversion of e.g. /c/path/to/here/ into c:\path\to\here
! # and c:/path/to/here
! # can't seem to specify path in one way that works for all packages
! # /c/topographica
! # c:\topographica
! # c:/topographica
  CC = gcc
  
+ # PIL
+ # http://mail.python.org/pipermail/image-sig/2004-December/003067.html
+ 
  # Options to pass to all setup.py install commands.
  # (Allows us to control installation location even when not using our
  # own Python, e.g. on Windows.)
! PYSETUP_OPT = --prefix=${BACK_PREFIX} --install-scripts=${BACK_PREFIX}\bin
  
+ default: numpy matplotlib weave fixedpoint pychecker common pylint epydoc docutils gnosis ipython gmpy tilewrapper scrodget tooltip
+ # i.e. python, jpeg, pil installed as binaries beforehand

  	cd ${MATPLOTLIB}; env PREFIX=${PREFIX} LD_LIBRARY_PATH=${PREFIX}/lib ${MATPLOTLIB_DISPLAY} ${PREFIX}/bin/python setup.py install ${PYSETUP_OPT}
  	touch matplotlib
  
--- 238,246 ----
  
  matplotlib: ${MATPLOTLIB}.tar.gz python
  	tar -xzf ${MATPLOTLIB}.tar.gz
