aboutsummaryrefslogtreecommitdiff
path: root/experimental
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2005-07-01 08:13:35 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2005-07-01 08:13:35 +0000
commit76be9508936fa53fe661d378ee2fc41cc9baebf3 (patch)
tree27933c01469be0d3e2416e084d070e1c0f3d0d88 /experimental
parent13f37565a6ab504b98c17ac06ee49d01f9bf99f6 (diff)
added
svn path=/trunk/externals/ggee/; revision=3276
Diffstat (limited to 'experimental')
-rw-r--r--experimental/makefile46
1 files changed, 0 insertions, 46 deletions
diff --git a/experimental/makefile b/experimental/makefile
deleted file mode 100644
index 4c0c51a..0000000
--- a/experimental/makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-
-EXTERNALS = $(shell ls *.c)
-CPPEXTERNALS = $(shell ls *.cpp)
-
-STRIP = strip --strip-unneeded -R .note -R .comment
-
-all: $(EXTERNALS:.c=.pd_linux) $(CPPEXTERNALS:.cpp=.pd_linux)
-
-# this might be a better way to do this:
-# EXTERNALS := ${patsubst %.c, %.o, ${wildcard *.c}}
-# all: ${EXTERNALS}
-
-.SUFFIXES: .pd_linux
-
-STK = $(shell ls -d stk*/)
-
-CFLAGS = -I$(STK)include
-
-# cross-platform default
-CPU_FLAGS = -O2
-OPTIM_FLAGS = -funroll-loops -fomit-frame-pointer $(CPU_FLAGS)
-
-FLAGS = -fPIC -DPD -DUNIX $(OPTIM_FLAGS) \
- -Wall -W -Wshadow -Wstrict-prototypes \
- -Wno-unused -Wno-parentheses -Wno-switch $(CFLAGS)
-
-INCLUDES = -I. -I.. -I../../build/include
-
-%.pd_linux: %.c
- $(CC) $(FLAGS) $(INCLUDES) -o "$*.o" -c "$+"
- gcc -Wl,-export_dynamic -shared -o "$@" "$*.o" -lc -lm
- chmod a-x "$@"
- $(STRIP) $@
- rm -f "$*.o"
-
-%.pd_linux: %.cpp
- $(CXX) $(FLAGS) $(INCLUDES) -o "$*.o" -c "$+"
- $(CXX) -Wl,-export_dynamic -shared -o "$@" "$*.o" -lc -lm $(STK)src/libstk.a
- chmod a-x "$@"
- $(STRIP) $@
- rm -f "$*.o"
-
-clean:
- -rm *.pd_linux *~ *.o
- -rm link.stamp
-