changeset 26536:40f47cc46192

Merge TEST_OBJS and TEST_LDFLAGS.
author diego
date Mon, 28 Apr 2008 12:41:39 +0000
parents 080778b9c312
children 4120a65789a8
files loader/Makefile
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/loader/Makefile	Mon Apr 28 12:39:15 2008 +0000
+++ b/loader/Makefile	Mon Apr 28 12:41:39 2008 +0000
@@ -36,12 +36,11 @@
 CFLAGS+=-fno-omit-frame-pointer $(CFLAG_NO_OMIT_LEAF_FRAME_POINTER)
 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
+TEST_OBJS    = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/mmap_anon.o ../osdep/$(GETCH) ../osdep/$(TIMER) -ltermcap -lm
 
 qtx/list qtx/qtxload: CFLAGS += -g
-qtx/%: qtx/%.c $(TEST_OBJS)
-	$(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS)
+qtx/list: qtx/list.c $(TEST_OBJS)
+qtx/qtxload: qtx/qtxload.c $(TEST_OBJS)
 
 clean::
 	rm -f dshow/*.o dshow/*.a dshow/*~