]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
4f22ce70 DB |
2 | # Makefile for USB tools |
3 | ||
4 | CC = $(CROSS_COMPILE)gcc | |
5 | PTHREAD_LIBS = -lpthread | |
6 | WARNINGS = -Wall -Wextra | |
cb292ce2 HR |
7 | CFLAGS = $(WARNINGS) -g -I../include |
8 | LDFLAGS = $(PTHREAD_LIBS) | |
4f22ce70 DB |
9 | |
10 | all: testusb ffs-test | |
11 | %: %.c | |
cb292ce2 | 12 | $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) |
4f22ce70 DB |
13 | |
14 | clean: | |
15 | $(RM) testusb ffs-test |