Commit 02b9b163 authored by TMRh20's avatar TMRh20

Update Makefile for LittleWire

- Update littlewire makefile by @lnxbil for new hardware support
template
parent 84f4590d
......@@ -18,6 +18,7 @@ LIB=librf24
HEADER_DIR=${PREFIX}/include/RF24
LIB_DIR=$(PREFIX)/lib
DRIVER_DIR=arch/LittleWire
ifeq ($(shell uname), Linux)
DYN_SUFFIX=so
......@@ -63,3 +64,5 @@ install-headers:
@echo "[Installing Headers]"
@if ( test ! -d ${HEADER_DIR} ) ; then mkdir -p ${HEADER_DIR} ; fi
@install -m 0644 *.h ${HEADER_DIR}
@if ( test ! -d ${HEADER_DIR}/${DRIVER_DIR} ) ; then mkdir -p ${HEADER_DIR}/${DRIVER_DIR} ; fi
@install -m 0644 ${DRIVER_DIR}/*.h ${HEADER_DIR}/${DRIVER_DIR}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment