BM-Lite/HAL_Driver/RaspberryPi/RaspberryPi.mk
Andrey Perminov a8bf0d4d76 Initial commit
Combined BM-Lite SDK and examples for Raspberry Pi and nRF52840 MCU
into one project
2021-06-21 13:49:30 -07:00

19 lines
338 B
Makefile

# Binary sources
HAL = $(ROOT)/HAL_Driver/RaspberryPi
PATH := /work/devtools/gcc-arm-hf/bin:$(PATH)
CC := arm-linux-gnueabihf-gcc
CFLAGS +=\
-D_DEFAULT_SOURCE
VPATH += $(HAL)
C_INC += -I$(HAL)/inc
LDFLAGS += -lwiringPi -L$(HAL)/lib/
# Source Folders
VPATH += $(HAL)/src/
# C Sources
C_SRCS += $(notdir $(wildcard $(HAL)/src/*.c))