summaryrefslogtreecommitdiffstats
path: root/edd/Makefile
blob: 0097864c2c554f783099b2bef6f04071d0831122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CFLAGS=-Wall -O -g -fpic# -DDEBUG

TARGETS=eddmodule.so libedd.a(edd.o lrmi.o)

all: $(TARGETS)

edd: lrmi.c edd.c
	gcc -DDEBUG -o edd lrmi.c edd.c

eddmodule.so: pyedd.c edd.o lrmi.o
	gcc -c -o pyedd.o -fpic pyedd.c -I/usr/include/python1.5
	gcc -shared -g -o $@ pyedd.o edd.o lrmi.o

clean:
	rm -f *.o *.so *~ core