12 lines
429 B
Makefile
Executable File
12 lines
429 B
Makefile
Executable File
PICOSCROLL_MOD_DIR := $(USERMOD_DIR)
|
|
|
|
# Add our source files to the respective variables.
|
|
SRC_USERMOD += $(PICOSCROLL_MOD_DIR)/pico_scroll.c
|
|
SRC_USERMOD_CXX += $(PICOSCROLL_MOD_DIR)/pico_scroll.cpp
|
|
|
|
# Add our module directory to the include path.
|
|
CFLAGS_USERMOD += -I$(PICOSCROLL_MOD_DIR)
|
|
CXXFLAGS_USERMOD += -I$(PICOSCROLL_MOD_DIR)
|
|
|
|
# We use C++ features so have to link against the standard library.
|
|
LDFLAGS_USERMOD += -lstdc++
|