mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
20 lines
731 B
Makefile
20 lines
731 B
Makefile
MXTASKING_DIR := $(call select_from_ports,mxtasking)/src/lib/mxtasking
|
|
|
|
SRC_CC = $(shell find $(MXTASKING_DIR)/src/mx -name '*.cpp')
|
|
vpath %.cpp $(MXTASKING_DIR)/src/mx
|
|
|
|
INC_DIR += $(MXTASKING_DIR)/src $(MXTASKING_DIR)/lib
|
|
vpath %.h ${INC_DIR}
|
|
|
|
CC_OPT += -pedantic -Wall \
|
|
-Wno-invalid-offsetof -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization \
|
|
-Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Woverloaded-virtual \
|
|
-Wredundant-decls -Wshadow -Wsign-promo -Wstrict-overflow=5 -Wswitch-default -Wundef \
|
|
-Wno-unused -Wold-style-cast -Wno-uninitialized -O1 -g3 -fno-aligned-new
|
|
|
|
CC_OPT += $(addprefix -I ,$(INC_DIR))
|
|
CC_CXX_WARN_STRICT =
|
|
|
|
LIBS += base libm libc stdcxx
|
|
#SHARED_LIB = yes
|