You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
506 B
20 lines
506 B
HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
|
|
-include $(HERE)../build.conf
|
|
|
|
TARGET ?= main_blink
|
|
DEBUG ?= 0
|
|
LIBDAISY_DIR ?= ../../heck_libDaisy
|
|
DAISYSP_DIR ?= ../../heck_DaisySP
|
|
|
|
CXX_STANDARD ?= -std=c++17
|
|
CXXFLAGS += -Wall -Wno-unused -Wno-reorder-ctor -Wno-switch
|
|
CXXFLAGS += -fdiagnostics-color=always
|
|
|
|
ALL_SRC = $(wildcard *.cc)
|
|
TARGET_SRC = $(TARGET).cc
|
|
MODULES_SRC = $(filter-out main_%,$(ALL_SRC))
|
|
CXX_SRC = $(MODULES_SRC) $(TARGET_SRC)
|
|
|
|
CXX_SOURCES = $(CXX_SRC)
|
|
|
|
include $(LIBDAISY_DIR)/core/Makefile
|
|
|