aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Client/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Client/linux/Makefile')
-rw-r--r--lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Client/linux/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Client/linux/Makefile b/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Client/linux/Makefile
new file mode 100644
index 000000000..ed84ee9aa
--- /dev/null
+++ b/lib/chibios-contrib/testhal/NUMICRO/NUC123/NUTINY-SDK-NUC123-V2.0/USB_HID/Client/linux/Makefile
@@ -0,0 +1,23 @@
1CC=gcc
2CFLAGS = -Wall -Wextra -O2 -g
3
4SRCS = $(wildcard *.c)
5OBJS = $(SRCS:%.c=%.o)
6EXE = test-usb-hid
7
8all: $(EXE)
9
10$(EXE): $(OBJS)
11
12-include $(subst .c,.d,$(SRCS))
13
14%.d: %.c
15 $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -MM -MF $@ -MP -MT $(subst .c,.o,$<) $<
16
17clean:
18 rm -f $(EXE)
19 rm -f $(OBJS)
20 rm -f $(subst .c,.d,$(SRCS))
21 rm -f *~
22
23.PHONY: clean all