summaryrefslogtreecommitdiffstats
path: root/TOOLS/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS/Makefile')
-rw-r--r--TOOLS/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/TOOLS/Makefile b/TOOLS/Makefile
index 1d06608e8f..2d9c1fe9c4 100644
--- a/TOOLS/Makefile
+++ b/TOOLS/Makefile
@@ -49,7 +49,17 @@ bmovl-test$(EXESUF): bmovl-test.c
vfw2menc$(EXESUF): vfw2menc.c
$(CC) $< -o $@ -lwinmm -lole32
+REAL_SRCS = $(wildcard realcodecs/*.c)
+REAL_TARGETS = $(REAL_SRCS:.c=.so.6.0)
+
+realcodecs: $(REAL_TARGETS)
+realcodecs: CFLAGS += -g
+
+%.so.6.0: %.o
+ ld -shared -o $@ $< -ldl -lc
+
clean distclean:
rm -f $(OBJS)
rm -f fastmem-* fastmem2-* fastmemcpybench
rm -f cpuinfo$(EXESUF) bmovl-test$(EXESUF) vfw2menc$(EXESUF)
+ rm -f $(REAL_TARGETS)