diff TOOLS/realcodecs/Makefile @ 19885:7f9b2b26e905

Replace silly compilation shell scripts by a simple Makefile.
author diego
date Mon, 18 Sep 2006 14:27:35 +0000
parents
children 0fd1b699210c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TOOLS/realcodecs/Makefile	Mon Sep 18 14:27:35 2006 +0000
@@ -0,0 +1,13 @@
+SRCS = 14_4.c 28_8.c cook.c drv2.c drv3.c drv4.c ra.c rv30.c sipr.c
+TARGETS = $(SRCS:.c=.so.6.0)
+
+%.o: %.c
+	cc -c $< -g
+
+%.so.6.0: %.o
+	ld -shared -o $@ $< -ldl -lc
+
+all: $(TARGETS)
+
+clean:
+	rm -f *.so.6.0