comparison Makefile @ 10472:5e984fa3613f libavcodec

Fix dependency: generated table is needed to create the mpegaudiodec.o file, not the .c one.
author reimar
date Wed, 28 Oct 2009 19:15:42 +0000
parents 23ca6d60184d
children fc71d28c94bf
comparison
equal deleted inserted replaced
10471:09d8df2c1a4d 10472:5e984fa3613f
708 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15 708 $(SUBDIR)mpegaudio_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DFRAC_BITS=15
709 endif 709 endif
710 $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c 710 $(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c
711 $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS) 711 $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS)
712 712
713 $(SUBDIR)mpegaudiodec.c: $(SUBDIR)mpegaudio_tables.h 713 $(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h
714 $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF) 714 $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
715 ./$< > $@ 715 ./$< > $@