Makefile cosmetics
authorMåns Rullgård <mans@mansr.com>
Wed, 28 Oct 2009 19:49:19 +0000 (19:49 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 28 Oct 2009 19:49:19 +0000 (19:49 +0000)
Originally committed as revision 20406 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 40c1681..0938dd0 100644 (file)
@@ -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)