From 944489b8357e5f898ccb1bec3bdbe320f9af96a4 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 28 Apr 2008 12:35:20 +0000 Subject: [PATCH] Merge test program compilation rules using patterns. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26566 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/loader/Makefile b/loader/Makefile index a83158ae4b..4661b8c009 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -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::