Allow running make in subdirs again.

pull/2/head
Reimar Döffinger 14 years ago
parent 2ec899222b
commit 95dd1741af
  1. 1
      Makefile
  2. 6
      common.mak

@ -42,6 +42,7 @@ DATA_FILES := $(wildcard $(SRC_PATH)/ffpresets/*.ffpreset)
SKIPHEADERS = cmdutils_common_opts.h SKIPHEADERS = cmdutils_common_opts.h
MAIN_MAKEFILE=1
include common.mak include common.mak
FF_LDFLAGS := $(FFLDFLAGS) FF_LDFLAGS := $(FFLDFLAGS)

@ -7,6 +7,12 @@ all: all-yes
ifndef SUBDIR ifndef SUBDIR
ifndef MAIN_MAKEFILE
ifeq ($(SRC_PATH),.)
SRC_PATH = ..
endif
endif
ifndef V ifndef V
Q = @ Q = @
ECHO = printf "$(1)\t%s\n" $(2) ECHO = printf "$(1)\t%s\n" $(2)

Loading…
Cancel
Save