build: Ensure that the "all" target appears before all Makefile includes

Otherwise builds without explicit target result in silent no-ops.
This commit is contained in:
Diego Biurrun 2016-12-07 15:27:37 +01:00
parent 6bd9590b33
commit c833c2034f
2 changed files with 3 additions and 3 deletions

View File

@ -106,6 +106,9 @@ DATA_FILES := $(wildcard $(SRC_PATH)/presets/*.avpreset)
SKIPHEADERS = cmdutils_common_opts.h \ SKIPHEADERS = cmdutils_common_opts.h \
compat/w32pthreads.h compat/w32pthreads.h
# first so "all" becomes default target
all: all-yes
include $(SRC_PATH)/tools/Makefile include $(SRC_PATH)/tools/Makefile
include $(SRC_PATH)/common.mak include $(SRC_PATH)/common.mak

View File

@ -2,9 +2,6 @@
# common bits used by all libraries # common bits used by all libraries
# #
# first so "all" becomes default target
all: all-yes
include $(SRC_PATH)/arch.mak include $(SRC_PATH)/arch.mak
OBJS += $(OBJS-yes) OBJS += $(OBJS-yes)