rockbox/utils/ingenic_tools/Makefile
Aidan MacDonald 13c7f482ce Add ingenic_tools/usbboot utility
This is essentially an expanded version of jz4760_tools/usbboot,
able to support both X1000 and JZ4760 CPUs and easily extended to
handle other Ingenic CPUs using the same boot protocol.

Change-Id: I70ce3acc3531d65390c6bbae4d2b3352140acf0a
2021-02-28 02:52:56 +00:00

14 lines
244 B
Makefile

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)