Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util/Clooper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Util/Clooper/Makefile')
-rw-r--r--Util/Clooper/Makefile38
1 files changed, 5 insertions, 33 deletions
diff --git a/Util/Clooper/Makefile b/Util/Clooper/Makefile
index 87caf59..c2a246d 100644
--- a/Util/Clooper/Makefile
+++ b/Util/Clooper/Makefile
@@ -4,39 +4,11 @@ CFLAGS+=-g -Wall -Werror -fPIC -O3 -finline
PYTHON=/usr/include/python2.4
-all : _SClient.so cmd_csound
+all : sclient.so
-%.o: %.c %.h
- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
-
-%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
-
-%.o: %.cpp %.h
- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
-
-clean :
- rm -f *.o _ttest.so _SClient.so
-
-cmd_csound: cmd_csound.cpp SoundClient.o
- g++ -o $@ $^ -lcsound
-
-SoundClient_wrap.c: SoundClient.i SoundClient.h
- swig -python $<
-
-SoundClient_wrap.o: SoundClient_wrap.c
- gcc -fPIC -I$(PYTHON) -o $@ -c $<
-
-_SClient.so : SoundClient_wrap.o SoundClient.o
- g++ -shared -o $@ $^ -lcsound
-
-ttest_wrap.c: ttest.i
- swig -python ttest.i
-
-ttest_wrap.o: ttest_wrap.c
- gcc -fPIC -I$(PYTHON) -o $@ -c $<
-
-_ttest.so : ttest_wrap.o ttest.o
- gcc -shared -o $@ $^
+sclient.so : SoundClient.cpp
+ g++ $(CFLAGS) -shared -o $@ $< -lpython2.4 -lcsound
+clean :
+ rm sclient.so