diff --git a/minichlink/Makefile b/minichlink/Makefile index 680a3c7531e0d4dfd36923c41f005d1475cd483d..a60c9f9b4f4ff6706cbab48dfec14641a1495561 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)