aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/Makefile
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-10-28 19:49:19 +0000
committerMåns Rullgård <mans@mansr.com>2009-10-28 19:49:19 +0000
commit785d3c97b26f4bc0f44b1996d744289be31e3561 (patch)
tree85a8f3005ff99c8097dd32e7e12992b2034f8dcd /libavcodec/Makefile
parentdf4fe41df48efd5f494a794f52dde2bc69bf5cc0 (diff)
downloadffmpeg-785d3c97b26f4bc0f44b1996d744289be31e3561.tar.gz
Makefile cosmetics
Originally committed as revision 20406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 40c16818d5..0938dd089d 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -702,11 +702,12 @@ $(SUBDIR)cos_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
$(SUBDIR)sin_tables.c: $(SUBDIR)costablegen$(HOSTEXESUF)
./$< sin > $@
-ifeq ($(CONFIG_MPEGAUDIO_HP),yes)
+ifdef CONFIG_MPEGAUDIO_HP
$(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=23
else
$(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15
endif
+
$(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
$(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)