1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||
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 |
Loading…
Reference in new issue