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.
18 lines
420 B
18 lines
420 B
HERE:=$(dir $(lastword $(MAKEFILE_LIST)))
|
|
-include $(HERE)../Makefile.conf
|
|
|
|
TARGET ?= main_blink
|
|
DEBUG ?= 0
|
|
|
|
LIBDIZZY_DIR ?= ../src/
|
|
CXXFLAGS += -I$(LIBDIZZY_DIR)
|
|
LDFLAGS += -L$(LIBDIZZY_DIR)build/
|
|
LDFLAGS += -ldizzy
|
|
|
|
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
|
|
|