From 521527d5b800f405758f45a75f3676efe4c8269f Mon Sep 17 00:00:00 2001 From: carmen rocco Date: Tue, 12 Apr 2005 15:48:55 +0000 Subject: poof...no more conflicting externals..!! svn path=/trunk/; revision=2743 --- externals/build/SConstruct | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/externals/build/SConstruct b/externals/build/SConstruct index a5178696..34975c13 100644 --- a/externals/build/SConstruct +++ b/externals/build/SConstruct @@ -5,6 +5,14 @@ prefix = "/usr/local/lib/pd" env = Environment(CPPPATH = Split(prefix + '/src /usr/local/include . src'), CPPDEFINES=['PD', 'UNIX'], SHLIBPREFIX = '', SHLIBSUFFIX = '.pd_linux', CCFLAGS = '-pipe -O2') +########### delete when namespace conflict issue is finally resolved +delete = """ +test -f src/prepend.c && rm src/urn.* && rm src/match.* && rm src/prepend.* && rm src/sinh.c && rm src/delta~.c && rm src/reson~.c && rm src/abs~.c &&rm src/svf~.c &&rm src/matrix~.c &&rm src/atan2~.c && rm src/avg~.c && echo "poof...no more conflicting externals..!!" +""" +print os.popen(delete).read() +########### + + # C sources in src/ for extra in glob.glob('src/*.c'): external = env.SharedLibrary(re.sub("\.c$","",os.path.basename(extra)), extra) -- cgit v1.2.1