diff Makefile @ 43:ab64a3fc62bf libavcodec

Portability and testing issues
author nickols_k
date Wed, 08 Aug 2001 16:26:51 +0000
parents a524484f9adf
children 4bfc845cdfea
line wrap: on
line diff
--- a/Makefile	Tue Aug 07 22:49:50 2001 +0000
+++ b/Makefile	Wed Aug 08 16:26:51 2001 +0000
@@ -37,7 +37,7 @@
 TESTS= imgresample-test dct-test
 
 all: $(LIB)
-tests: apiexample $(TESTS)
+tests: apiexample cpuid_test $(TESTS)
 
 $(LIB): $(OBJS) $(ASM_OBJS)
 	rm -f $@
@@ -70,6 +70,10 @@
 apiexample: apiexample.c $(LIB)
 	$(CC) $(CFLAGS) -o $@ $< $(LIB) -lm
 
+# cpuid test
+cpuid_test: i386/cputest.c
+	$(CC) $(CFLAGS) -D__TEST__ -o $@ $<
+
 # testing progs
 
 imgresample-test: imgresample.c