comparison loader/Makefile @ 26533:2fa2d41d540f

Add CFLAGS to test program compilation commands.
author diego
date Mon, 28 Apr 2008 12:34:30 +0000
parents 6b4965568264
children 432ba8dbef54
comparison
equal deleted inserted replaced
26532:6b4965568264 26533:2fa2d41d540f
38 38
39 TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/mmap_anon.o ../osdep/$(GETCH) ../osdep/$(TIMER) 39 TEST_OBJS = $(LIBNAME_COMMON) ../cpudetect.o ../mp_msg.o ../mp_fifo.o ../osdep/mmap_anon.o ../osdep/$(GETCH) ../osdep/$(TIMER)
40 TEST_LDFLAGS = -ltermcap -lm -g 40 TEST_LDFLAGS = -ltermcap -lm -g
41 41
42 qtx/qtxload: qtx/qtxload.c $(TEST_OBJS) 42 qtx/qtxload: qtx/qtxload.c $(TEST_OBJS)
43 $(CC) -o $@ $^ $(TEST_LDFLAGS) 43 $(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS)
44 44
45 qtx/list: qtx/list.c $(TEST_OBJS) 45 qtx/list: qtx/list.c $(TEST_OBJS)
46 $(CC) -o $@ $^ $(TEST_LDFLAGS) 46 $(CC) $(CFLAGS) -o $@ $^ $(TEST_LDFLAGS)
47 47
48 clean:: 48 clean::
49 rm -f dshow/*.o dshow/*.a dshow/*~ 49 rm -f dshow/*.o dshow/*.a dshow/*~
50 rm -f dmo/*.o dmo/*.a dmo/*~ 50 rm -f dmo/*.o dmo/*.a dmo/*~
51 rm -f dshow/test dshow/test.raw 51 rm -f dshow/test dshow/test.raw