From be98d13782b05e7659f601980ef695a493d6bee1 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Wed, 21 Aug 2024 17:29:28 +0800
Subject: [PATCH] Add infrared source code
---
hal/api/makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/hal/api/makefile b/hal/api/makefile
index 0c3525e..d600230 100644
--- a/hal/api/makefile
+++ b/hal/api/makefile
@@ -27,9 +27,9 @@
BINARIES=$(SRCFILES:%.c=%)
# libgpiod compile install path
-LIBGPIOD_PATH=libgpiod/install
-CFLAGS+=-I ${LIBGPIOD_PATH}/include
-LDFLAGS+=-L ${LIBGPIOD_PATH}/lib -lgpiod
+LIBS_PATH=install
+CFLAGS+=-I ${LIBS_PATH}/include
+LDFLAGS+=-L ${LIBS_PATH}/lib -lgpiod
all: libs binaries install
@@ -48,7 +48,8 @@
@rm -f *.o *.lo $(BINARIES)
distclean: clean
- @rm -f tags cscope*
+ @rm -f tags cscope*
@make clean -C libgpiod
+ @rm -rf install
.PHONY: clean entry
--
Gitblit v1.9.1