summaryrefslogtreecommitdiff
path: root/yocto/esp32d/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-05-28 00:00:25 +0200
committerUros Majstorovic <majstor@majstor.org>2025-05-28 00:00:25 +0200
commit040f2299065caf64dbe5228b91f8abf8add9862b (patch)
treefe8371912709f4a52c43ed8e7cc5f864a225b6bc /yocto/esp32d/Makefile
parent51181684435dc6cf1cbeaed592adb4340a33fb1e (diff)
added mikrophone yocto layer; added esp32 driver;HEADmaster
Diffstat (limited to 'yocto/esp32d/Makefile')
-rw-r--r--yocto/esp32d/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/yocto/esp32d/Makefile b/yocto/esp32d/Makefile
new file mode 100644
index 0000000..677d09d
--- /dev/null
+++ b/yocto/esp32d/Makefile
@@ -0,0 +1,15 @@
+#CFLAGS =
+LDFLAGS = -pthread -lgpiod
+TARGET = esp32d
+obj = msgq.o spi.o tun.o
+
+all: $(TARGET)
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+$(TARGET): $(obj)
+ $(CC) $(obj) $(LDFLAGS) -o $@
+
+clean:
+ rm -f $(TARGET) *.o