From 21559e9f4bd58b1504cc0fda7b0dceee0c833862 Mon Sep 17 00:00:00 2001 From: zyp Date: Thu, 26 Jan 2006 19:07:15 +0000 Subject: [project @ zyp-20060126190715-557e941315671b81] [project @ 18] Moved disccat and pyanidb to the right location. Added pyqtmpc and ophidia. --- ed2k/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ed2k/Makefile (limited to 'ed2k/Makefile') diff --git a/ed2k/Makefile b/ed2k/Makefile new file mode 100644 index 0000000..07d23df --- /dev/null +++ b/ed2k/Makefile @@ -0,0 +1,27 @@ +CC=gcc +CFLAGS= +CPP=g++ +CPPFLAGS= +LD=gcc +LDFLAGS=-shared + +OBJECTS=ed2k_wrapper.o ed2k.o +TARGET=_ed2k.so +INCLUDE=-I /usr/include/python2.4/ +LIB=-l boost_python -l ssl + +all: $(TARGET) + +clean: + -rm $(TARGET) $(OBJECTS) + +# M�-regel +$(TARGET): $(OBJECTS) Makefile + $(LD) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIB) + +# Pseudoregler +%.o: %.c Makefile + $(CC) $(CFLAGS) -o $@ -c $< $(INCLUDE) + +%.o: %.cpp Makefile + $(CPP) $(CPPFLAGS) -o $@ -c $< $(INCLUDE) \ No newline at end of file -- cgit v1.2.3