diff options
author | Måns Rullgård <mans@mansr.com> | 2009-10-29 00:55:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-10-29 00:55:35 +0000 |
commit | de4070b5204a97c555bcc32746fb7c60da971a6c (patch) | |
tree | e7693419df86057aa6b905668b19d63c0d869328 /libavcodec/Makefile | |
parent | 7a41027cc4c2249fcabd657f848dc8862033a2dd (diff) | |
download | ffmpeg-de4070b5204a97c555bcc32746fb7c60da971a6c.tar.gz |
Add generic rules for building helpers with HOSTCC
Originally committed as revision 20412 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r-- | libavcodec/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 0938dd089d..21cba37b58 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -685,17 +685,16 @@ TESTPROGS = cabac dct eval fft h264 iirfilter rangecoder snow TESTPROGS-$(ARCH_X86) += x86/cpuid TESTPROGS-$(HAVE_MMX) += motion +HOSTPROGS = costablegen + DIRS = alpha arm bfin mlib ppc ps2 sh4 sparc x86 -CLEANFILES = sin_tables.c cos_tables.c costablegen$(HOSTEXESUF) *_tables.h *_tablegen$(HOSTEXESUF) +CLEANFILES = sin_tables.c cos_tables.c *_tables.h *_tablegen$(HOSTEXESUF) include $(SUBDIR)../subdir.mak $(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o -$(SUBDIR)costablegen$(HOSTEXESUF): $(SUBDIR)costablegen.c - $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS) - $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF) ./$< > $@ |