diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2010-07-02 00:30:27 +0000 |
---|---|---|
committer | Diego Pettenò <flameeyes@gmail.com> | 2010-07-02 00:30:27 +0000 |
commit | cb9b39fba937b7eee69968ba1310ab694a439fc3 (patch) | |
tree | 615de9cfcc9f44b98c3d8b12c6f764b2c78496bd | |
parent | 9bbb50648d487b2ce7d0540af69b7d6a4abc02a3 (diff) | |
download | ffmpeg-cb9b39fba937b7eee69968ba1310ab694a439fc3.tar.gz |
tablegen: the executable depends on tablegen headers as well
Make sure that the *_tablegen.h header is listed in the dependencies, but
filter it out in the compile line.
Originally committed as revision 23963 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index aae75fc869..1fa4254058 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -652,8 +652,8 @@ else $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0 endif -$(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)tableprint.c - $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $^ $(HOSTLIBS) +$(SUBDIR)%_tablegen$(HOSTEXESUF): $(SUBDIR)%_tablegen.c $(SUBDIR)%_tablegen.h $(SUBDIR)tableprint.c + $(HOSTCC) $(HOSTCFLAGS) $(HOSTLDFLAGS) -o $@ $(filter %.c,$^) $(HOSTLIBS) $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF) $(M)./$< > $@ |