Proof-of-concept driver added

This commit is contained in:
2023-09-19 15:06:41 +02:00
parent 0543d56dd5
commit c2ae875a82
7 changed files with 72 additions and 13 deletions

View File

@@ -0,0 +1,10 @@
CC=gcc
CFLAGS=$(shell pkg-config --cflags libusb-1.0) -O3 -Wall -shared
LDFLAGS=$(shell pkg-config --libs libusb-1.0)
BUILD_DIR=../../../build/
all: $(BUILD_DIR)/drivers/gwolves-htx.so
$(BUILD_DIR)/drivers/gwolves-htx.so: htx.c | $(BUILD_DIR)/drivers/
gcc $(CFLAGS) -o $@ $^