[FFmpeg-cvslog] r20406 - trunk/libavcodec/Makefile
mru
subversion
Wed Oct 28 20:49:19 CET 2009
Author: mru
Date: Wed Oct 28 20:49:19 2009
New Revision: 20406
Log:
Makefile cosmetics
Modified:
trunk/libavcodec/Makefile
Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile Wed Oct 28 20:49:16 2009 (r20405)
+++ trunk/libavcodec/Makefile Wed Oct 28 20:49:19 2009 (r20406)
@@ -702,11 +702,12 @@ $(SUBDIR)cos_tables.c: $(SUBDIR)costable
$(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)
More information about the ffmpeg-cvslog
mailing list