mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

Add SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any form These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
320 B
Makefile
15 lines
320 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CC = gcc
|
|
LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
|
|
LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
|
WARNINGS = -Wall -Wextra
|
|
CFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS)
|
|
LDFLAGS = $(LIBUSB_LIBS)
|
|
|
|
all: test
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
$(RM) test
|