[MPlayer-cvslog] r25614 - in trunk/loader: Makefile qtx/c.sh

diego subversion at mplayerhq.hu
Sun Jan 6 12:40:49 CET 2008


Author: diego
Date: Sun Jan  6 12:40:49 2008
New Revision: 25614

Log:
Add proper compilation rules for qtx/list and qtx/qtxload and remove silly
compilation shell script.


Removed:
   trunk/loader/qtx/c.sh
Modified:
   trunk/loader/Makefile

Modified: trunk/loader/Makefile
==============================================================================
--- trunk/loader/Makefile	(original)
+++ trunk/loader/Makefile	Sun Jan  6 12:40:49 2008
@@ -35,8 +35,17 @@ include ../mpcommon.mak
 
 CFLAGS+=-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
 
-dshow/test: dshow/test.c $(LIBNAME_COMMON) ../cpudetect.o ../get_path.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a
-	$(CC) $(CFLAGS) -o $@ $^ -ltermcap -ldl -lm -lpthread -g -lstdc++
+TEST_OBJS    = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/libosdep.a
+TEST_LDFLAGS = -ltermcap -ldl -lm -lpthread -g
+
+dshow/test: dshow/test.c ../get_path.o $(TEST_OBJS)
+	$(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS) -lstdc++
+
+qtx/qtxload: qtx/qtxload.c $(TEST_OBJS)
+	$(CC) -o $@ $^ $(TEST_LDFLAGS)
+
+qtx/list: qtx/list.c  $(TEST_OBJS)
+	$(CC) -o $@ $^ $(TEST_LDFLAGS)
 
 clean::
 	rm -f dshow/*.o dshow/*.a dshow/*~



More information about the MPlayer-cvslog mailing list