[MPlayer-cvslog] r26566 - trunk/loader/Makefile

diego subversion at mplayerhq.hu
Mon Apr 28 14:35:20 CEST 2008


Author: diego
Date: Mon Apr 28 14:35:20 2008
New Revision: 26566

Log:
Merge test program compilation rules using patterns.


Modified:
   trunk/loader/Makefile

Modified: trunk/loader/Makefile
==============================================================================
--- trunk/loader/Makefile	(original)
+++ trunk/loader/Makefile	Mon Apr 28 14:35:20 2008
@@ -39,10 +39,7 @@ win32.o: CFLAGS += $(CFLAG_STACKREALIGN)
 TEST_OBJS    = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/mmap_anon.o ../osdep/$(GETCH) ../osdep/$(TIMER)
 TEST_LDFLAGS = -ltermcap -lm -g
 
-qtx/qtxload: qtx/qtxload.c $(TEST_OBJS)
-	$(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS)
-
-qtx/list: qtx/list.c  $(TEST_OBJS)
+qtx/%: qtx/%.c $(TEST_OBJS)
 	$(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS)
 
 clean::



More information about the MPlayer-cvslog mailing list