changeset 26534:432ba8dbef54

Merge test program compilation rules using patterns.
author diego
date Mon, 28 Apr 2008 12:35:20 +0000
parents 2fa2d41d540f
children 080778b9c312
files loader/Makefile
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Mon Apr 28 12:34:30 2008 +0000
+++ b/loader/Makefile	Mon Apr 28 12:35:20 2008 +0000
@@ -39,10 +39,7 @@
 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::