diff --git a/Makefile b/Makefile index 00cfc481b1..54a10f6fde 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ FFLIBS := avutil DATA_FILES := $(wildcard $(SRC_DIR)/ffpresets/*.ffpreset) +SKIPHEADERS = cmdutils_common_opts.h + include common.mak FF_LDFLAGS := $(FFLDFLAGS) diff --git a/common.mak b/common.mak index b55e921f54..446ccc1992 100644 --- a/common.mak +++ b/common.mak @@ -91,7 +91,7 @@ HOSTPROGS := $(addprefix $(SUBDIR),$(addsuffix $(HOSTEXESUF),$(HOSTPROGS))) DEP_LIBS := $(foreach NAME,$(FFLIBS),$(BUILD_ROOT_REL)/lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME)) ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h)) -SKIPHEADERS = $(addprefix $(SUBDIR),$(SKIPHEADERS-)) +SKIPHEADERS := $(addprefix $(SUBDIR),$(SKIPHEADERS-) $(SKIPHEADERS)) checkheaders: $(filter-out $(SKIPHEADERS:.h=.ho),$(ALLHEADERS:.h=.ho)) $(HOSTOBJS): %.o: %.c