summaryrefslogtreecommitdiff
path: root/sim/src/experimental/opengl-pyrex/Makefile
blob: cdf3dcd2482f3d1eaafede3fe6fb9b865cbcec18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18


# Copyright 2006-2007 Nanorex, Inc.  See LICENSE file for details. 

CC=gcc
CFLAGS=-Wall -g -I/usr/X11R6/include -I/usr/include/python2.3
LDFLAGS=-L/usr/X11R6/lib -L/usr/lib/python2.3/config -lGL -lGLU -lpython2.3

all: putz.so

clean:
	rm -f *~ *.o putz.c putz.so

putz.c: putz.pyx
	pyrexc putz.pyx

putz.so: putz.o
	$(CC) -shared $(LDFLAGS) -o putz.so putz.o