Browse Source

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

Otherwise builds without explicit target result in silent no-ops.
tags/n3.4
Diego Biurrun 8 years ago
parent
commit
c833c2034f
2 changed files with 3 additions and 3 deletions
  1. +3
    -0
      Makefile
  2. +0
    -3
      common.mak

+ 3
- 0
Makefile 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




+ 0
- 3
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)


Loading…
Cancel
Save