summaryrefslogtreecommitdiff
path: root/evdevtest/Makefile
blob: e006ac93dd1ae05736075d20fc1951ca1d538798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)