usbboot from rockbox

This commit is contained in:
ballaswag
2023-09-19 01:16:34 -07:00
commit 55e5dc520d
3 changed files with 435 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
DEFINES=
CC?=gcc
CFLAGS=-g -std=c99 -Wall $(DEFINES) `pkg-config --cflags libusb-1.0`
LDFLAGS=`pkg-config --libs libusb-1.0`
SRC=$(wildcard *.c)
EXEC=$(SRC:.c=)
all: $(EXEC)
%: %.c
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean:
rm -fr $(EXEC)