diff options
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/Makefile | 23 |
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 @@ | |||
1 | CC=gcc | ||
2 | CFLAGS = -Wall -Wextra -O2 -g | ||
3 | |||
4 | SRCS = $(wildcard *.c) | ||
5 | OBJS = $(SRCS:%.c=%.o) | ||
6 | EXE = test-usb-hid | ||
7 | |||
8 | all: $(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 | |||
17 | clean: | ||
18 | rm -f $(EXE) | ||
19 | rm -f $(OBJS) | ||
20 | rm -f $(subst .c,.d,$(SRCS)) | ||
21 | rm -f *~ | ||
22 | |||
23 | .PHONY: clean all | ||