Mercurial > libavcodec.hg
diff Makefile @ 10478:decdb00e19a8 libavcodec
Add generic rules for building helpers with HOSTCC
author | mru |
---|---|
date | Thu, 29 Oct 2009 00:55:35 +0000 |
parents | 26d367865bda |
children | 9b56cd1e37b7 |
line wrap: on
line diff
--- a/Makefile Wed Oct 28 22:41:45 2009 +0000 +++ b/Makefile Thu Oct 29 00:55:35 2009 +0000 @@ -685,17 +685,16 @@ 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) ./$< > $@