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_mingw | |
parent | bf408e3e5a3c657758e61519fa5698a6f1526bce (diff) |
initial commit of adaptive
svn path=/trunk/externals/grh/; revision=3317
Diffstat (limited to 'adaptive/src/makefile_mingw')
-rwxr-xr-x | adaptive/src/makefile_mingw | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/adaptive/src/makefile_mingw b/adaptive/src/makefile_mingw new file mode 100755 index 0000000..4f9d617 --- /dev/null +++ b/adaptive/src/makefile_mingw @@ -0,0 +1,46 @@ +current: all
+
+.SUFFIXES: .dll
+
+PDPATH = "c:/pd"
+
+INCLUDE = -I. -I$(PDPATH)/src
+
+LDFLAGS = --export-dynamic -shared
+
+#select either the DBG and OPT compiler flags below:
+
+CFLAGS = -DPD -DNT -W -Wno-unused -mms-bitfields\
+ -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.dll
+
+
+OBJ = $(SRC:.c=.o)
+
+
+# ------------------ targets ------------------------------------
+
+
+clean:
+ rm -f *.a *.def *.o *.dll
+
+all: $(OBJ)
+ @echo :: $(OBJ)
+ g++ $(LDFLAGS) -o $(TARGET) $(OBJ) $(PDPATH)/bin/pd.dll -libc
+ strip --strip-unneeded $(TARGET)
+ chmod 755 $(TARGET)
+
+$(OBJ) : %.o : %.c
+ touch $*.c
+ gcc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c
+
+install:
+ cp $(TARGET) $(PDPATH)/externs
+ cp ../doc/help-*.pd $(PDPATH)/doc/5.reference
|