summaryrefslogtreecommitdiffstats
path: root/edd/Makefile
blob: 171f50fa18065fd9cdfc2347531bef876a8d659c (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