M7350/kernel/tools/usb/Makefile

15 lines
263 B
Makefile
Raw Normal View History

2024-09-09 08:52:07 +00:00
# Makefile for USB tools
CC = $(CROSS_COMPILE)gcc
PTHREAD_LIBS = -lpthread
WARNINGS = -Wall -Wextra
2024-09-09 08:57:42 +00:00
CFLAGS = $(WARNINGS) -g -I../include
LDFLAGS = $(PTHREAD_LIBS)
2024-09-09 08:52:07 +00:00
all: testusb ffs-test
%: %.c
2024-09-09 08:57:42 +00:00
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
2024-09-09 08:52:07 +00:00
clean:
$(RM) testusb ffs-test