diff options
author | Georg Holzmann <grholzi@users.sourceforge.net> | 2005-07-12 14:09:53 +0000 |
---|---|---|
committer | Georg Holzmann <grholzi@users.sourceforge.net> | 2005-07-12 14:09:53 +0000 |
commit | efa45f81b5dcb9609b1e2365a51b7a25a1ba2ce0 (patch) | |
tree | 8c9598e22824a77457bc4150796eb65ddc387027 /adaptive/src/makefile | |
parent | bf408e3e5a3c657758e61519fa5698a6f1526bce (diff) |
initial commit of adaptive
svn path=/trunk/externals/grh/; revision=3317
Diffstat (limited to 'adaptive/src/makefile')
-rwxr-xr-x | adaptive/src/makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/adaptive/src/makefile b/adaptive/src/makefile new file mode 100755 index 0000000..9a3f09b --- /dev/null +++ b/adaptive/src/makefile @@ -0,0 +1,48 @@ +current: all
+
+.SUFFIXES: .pd_linux
+
+# make sure that the "m_pd.h" is somehow available either by putting it into this
+# directory, by adding it's path to the INCLUDE-path or by putting it into an
+# already included path, e.g. "/usr/include/"
+INCLUDE = -I. -I/usr/include/
+
+PDPATH = /usr/lib/pd
+
+LDFLAGS = -export-dynamic -shared
+
+#select either the DBG and OPT compiler flags below:
+
+CFLAGS = -DPD -DUNIX -W -Wno-unused \
+ -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
+
+SYSTEM = $(shell uname -m)
+
+# the sources:
+
+SRC = adaptive.c lms~.c lms2~.c nlms~.c nlms2~.c nlms3~.c
+
+TARGET = adaptive.pd_linux
+
+
+OBJ = $(SRC:.c=.o)
+
+
+# ------------------ targets ------------------------------------
+
+
+clean:
+ rm -f *.o *.pd_linux
+
+all: $(OBJ)
+ @echo :: $(OBJ)
+ ld $(LDFLAGS) -o $(TARGET) $(OBJ)
+ strip --strip-unneeded $(TARGET)
+
+$(OBJ) : %.o : %.c
+ touch $*.c
+ cc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
+
+install:
+ cp $(TARGET) $(PDPATH)/externs
+ cp ../doc/help-*.pd $(PDPATH)/doc/5.reference
|