From 0fd3b59bc99263d30e0416227e2ba050800cff7b Mon Sep 17 00:00:00 2001 From: Mark <markboldyrev@gmail.com> Date: Fri, 16 Jun 2023 10:14:53 +0300 Subject: [PATCH] Exclude Ardulink on Windows in the makefile --- minichlink/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/minichlink/Makefile b/minichlink/Makefile index 680a3c7..a60c9f9 100644 --- a/minichlink/Makefile +++ b/minichlink/Makefile @@ -1,7 +1,7 @@ TOOLS:=minichlink minichlink.so CFLAGS:=-O0 -g3 -Wall -C_S:=minichlink.c pgm-wch-linke.c pgm-esp32s2-ch32xx.c nhc-link042.c ardulink.c minichgdb.c +C_S:=minichlink.c pgm-wch-linke.c pgm-esp32s2-ch32xx.c nhc-link042.c minichgdb.c # General Note: To use with GDB, gdb-multiarch # gdb-multilib {file} @@ -23,6 +23,9 @@ else LIBINCLUDES:=$(shell pkg-config --libs-only-L libusb-1.0) INCS:=$(INCLUDES) $(LIBINCLUDES) endif + + # Until it's supported on Windows, add the Ardulink file here. + C_S:=$(C_S) ardulink.c endif all : $(TOOLS) -- GitLab