Commit 5ce628fa authored by Loren Merritt's avatar Loren Merritt

cosmetics: config.h is now modified only by configure. make now calls configure if you haven't.



git-svn-id: svn://svn.videolan.org/x264/trunk@383 df754926-b1dd-0310-bc7b-ec298dee348c
parent f03dbfd4
......@@ -79,13 +79,13 @@ common/amd64/*.o: common/amd64/amd64inc.asm
%.o: %.asm
$(AS) $(ASFLAGS) -o $@ $<
.depend: config.mak config.h
.depend: config.mak
rm -f .depend
# Hacky - because gcc 2.9x doesn't have -MT
$(foreach SRC, $(SRCS) x264.c matroska.c, ( echo -n "`dirname $(SRC)`/" && $(CC) $(CFLAGS) $(SRC) -MM -g0 ) 1>> .depend;)
config.h: $(wildcard .svn/entries */.svn/entries */*/.svn/entries)
./version.sh
config.mak: $(wildcard .svn/entries */.svn/entries */*/.svn/entries)
./configure $(CONFIGURE_ARGS)
depend: .depend
ifneq ($(wildcard .depend),)
......
......@@ -262,6 +262,7 @@ EXE=$EXE
VIS=$vis
HAVE_GETOPT_LONG=$HAVE_GETOPT_LONG
DEVNULL=$DEVNULL
CONFIGURE_ARGS=$@
EOF
if [ "$vfw" = "yes" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment