Mercurial > libavcodec.hg
comparison Makefile @ 4990:f3f84103b81a libavcodec
cosmetics: Group all test targets together.
author | diego |
---|---|
date | Sat, 12 May 2007 10:43:45 +0000 |
parents | 15577904cb95 |
children | 3fa689636240 |
comparison
equal
deleted
inserted
replaced
4989:0b1e761135cd | 4990:f3f84103b81a |
---|---|
399 | 399 |
400 NAME=avcodec | 400 NAME=avcodec |
401 LIBVERSION=$(LAVCVERSION) | 401 LIBVERSION=$(LAVCVERSION) |
402 LIBMAJOR=$(LAVCMAJOR) | 402 LIBMAJOR=$(LAVCMAJOR) |
403 | 403 |
404 TESTS= imgresample-test fft-test dct-test | |
405 ifeq ($(TARGET_ARCH_X86),yes) | |
406 TESTS+= cpuid_test motion-test | |
407 endif | |
408 | |
409 include ../common.mak | 404 include ../common.mak |
410 | |
411 tests: apiexample $(TESTS) | |
412 | 405 |
413 clean:: | 406 clean:: |
414 rm -f \ | 407 rm -f \ |
415 i386/*.o i386/*~ \ | 408 i386/*.o i386/*~ \ |
416 armv4l/*.o armv4l/*~ \ | 409 armv4l/*.o armv4l/*~ \ |
420 ps2/*.o ps2/*~ \ | 413 ps2/*.o ps2/*~ \ |
421 sh4/*.o sh4/*~ \ | 414 sh4/*.o sh4/*~ \ |
422 sparc/*.o sparc/*~ \ | 415 sparc/*.o sparc/*~ \ |
423 apiexample $(TESTS) | 416 apiexample $(TESTS) |
424 | 417 |
418 TESTS= imgresample-test fft-test dct-test | |
419 ifeq ($(TARGET_ARCH_X86),yes) | |
420 TESTS+= cpuid_test motion-test | |
421 endif | |
422 | |
423 tests: apiexample $(TESTS) | |
424 | |
425 apiexample: apiexample.o $(LIB) | 425 apiexample: apiexample.o $(LIB) |
426 | 426 |
427 cpuid_test: i386/cputest.c | 427 cpuid_test: i386/cputest.c |
428 $(CC) $(CFLAGS) -D__TEST__ -o $@ $< | 428 $(CC) $(CFLAGS) -D__TEST__ -o $@ $< |
429 | 429 |