m5ops: move to factored .h file

Create empty subs for unsupported archs, much less messy for callers.

bst_vs_heap: create
This commit is contained in:
Ciro Santilli
2018-08-25 09:32:44 +01:00
parent eb4f4ba1d7
commit 7ccc1d3a8f
6 changed files with 142 additions and 64 deletions

View File

@@ -1,10 +1,12 @@
.PHONY: all clean
CFLAGS_EXTRA ?= -fopenmp -std=c99 -Wall -Werror -Wextra
IN_EXT_C ?= .c
IN_EXT_CXX ?= .cpp
LIBS :=
OUT_EXT ?= .out
CFLAGS_EXTRA = -fopenmp -std=c99
CXXFLAGS_EXTRA = -std=c++17
CCFLAGS_EXTRA = -Wall -Werror -Wextra
IN_EXT_C = .c
IN_EXT_CXX = .cpp
LIBS =
OUT_EXT = .out
OUTS := $(foreach IN_EXT,$(IN_EXT_C) $(IN_EXT_CXX),$(addsuffix $(OUT_EXT), $(basename $(wildcard *$(IN_EXT)))))
ifeq ($(BR2_PACKAGE_EIGEN),y)