aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile
diff options
context:
space:
mode:
authorJonathan Struebel <jonathan.struebel@gmail.com>2016-06-18 20:02:22 -0700
committerJonathan Struebel <jonathan.struebel@gmail.com>2016-06-18 20:02:22 -0700
commit71dc079032816c7c3b86485cc674ea1aeb3d5a84 (patch)
treef0b9aadc47999820f615d6255af7ac869799359d /testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile
parent5f073a82b08a8b04c91d7e2d95aca2abdae26e66 (diff)
downloadChibiOS-Contrib-71dc079032816c7c3b86485cc674ea1aeb3d5a84.tar.gz
ChibiOS-Contrib-71dc079032816c7c3b86485cc674ea1aeb3d5a84.tar.bz2
ChibiOS-Contrib-71dc079032816c7c3b86485cc674ea1aeb3d5a84.zip
Added USB HID driver to community HAL
Diffstat (limited to 'testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile')
-rw-r--r--testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile b/testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile
new file mode 100644
index 0000000..ed84ee9
--- /dev/null
+++ b/testhal/KINETIS/FRDM-KL25Z/USB_HID/Client/Makefile
@@ -0,0 +1,23 @@
+CC=gcc
+CFLAGS = -Wall -Wextra -O2 -g
+
+SRCS = $(wildcard *.c)
+OBJS = $(SRCS:%.c=%.o)
+EXE = test-usb-hid
+
+all: $(EXE)
+
+$(EXE): $(OBJS)
+
+-include $(subst .c,.d,$(SRCS))
+
+%.d: %.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -MM -MF $@ -MP -MT $(subst .c,.o,$<) $<
+
+clean:
+ rm -f $(EXE)
+ rm -f $(OBJS)
+ rm -f $(subst .c,.d,$(SRCS))
+ rm -f *~
+
+.PHONY: clean all