summaryrefslogtreecommitdiff
path: root/evdevtest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'evdevtest/Makefile')
-rw-r--r--evdevtest/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/evdevtest/Makefile b/evdevtest/Makefile
new file mode 100644
index 0000000..e006ac9
--- /dev/null
+++ b/evdevtest/Makefile
@@ -0,0 +1,26 @@
+#############################################################################
+# Copyright (c) 2013 Linaro
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Linaro <linaro-dev@lists.linaro.org>
+#############################################################################
+
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -O2 -g
+EXE = juice_evtest
+Q = @
+
+$(EXE): juice_evtest.c
+ @echo -ne "\tCC\t"
+ @echo $<
+ $(Q)$(CC) $(CFLAGS) -I. -o $@ $< -lrt
+ $(MAKE) -C kernel_module
+
+clean:
+ @echo -ne "\tRM\t"
+ @echo $(EXE)
+ $(Q)$(RM) $(EXE)