BM-Lite/HAL_Driver/RaspberryPi/RaspberryPi.mk

18 lines
292 B
Makefile

# Binary sources
HAL = $(ROOT)/HAL_Driver/RaspberryPi
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))