Mercurial > mplayer.hg
comparison Makefile @ 26488:a347dc8f3dcd
Include mpcommon.mak before declaring dependencies, which require mpcommon.mak.
author | diego |
---|---|
date | Thu, 24 Apr 2008 17:41:19 +0000 |
parents | 1b0dfff7c323 |
children | 925b2b7a1f34 |
comparison
equal
deleted
inserted
replaced
26487:1b0dfff7c323 | 26488:a347dc8f3dcd |
---|---|
487 all: recurse $(ALL_PRG) | 487 all: recurse $(ALL_PRG) |
488 | 488 |
489 recurse: | 489 recurse: |
490 for part in $(PARTS); do $(MAKE) -C $$part; done | 490 for part in $(PARTS); do $(MAKE) -C $$part; done |
491 | 491 |
492 # Hack to keep .depend from being generated at the top level unnecessarily. | |
493 DEPS = foo | |
494 | |
495 include mpcommon.mak | |
496 | |
492 DEPS = $(SRCS_COMMON:.c=.d) $(SRCS_MPLAYER:.c=.d) $(SRCS_MENCODER:.c=.d) | 497 DEPS = $(SRCS_COMMON:.c=.d) $(SRCS_MPLAYER:.c=.d) $(SRCS_MENCODER:.c=.d) |
493 $(DEPS) recurse: help_mp.h version.h codecs.conf.h | 498 $(DEPS) recurse: help_mp.h version.h codecs.conf.h |
494 dep depend: $(DEPS) | 499 dep depend: $(DEPS) |
495 for part in $(PARTS); do $(MAKE) -C $$part .depend; done | 500 for part in $(PARTS); do $(MAKE) -C $$part .depend; done |
496 | |
497 include mpcommon.mak | |
498 | 501 |
499 CFLAGS := $(subst -I..,-I.,$(CFLAGS)) | 502 CFLAGS := $(subst -I..,-I.,$(CFLAGS)) |
500 | 503 |
501 define RECURSIVE_RULE | 504 define RECURSIVE_RULE |
502 $(part)/$(part).a: | 505 $(part)/$(part).a: |