Root/tools/atrf-gpio/Makefile

1#
2# atrf-gpio/Makefile - Build the GPIO test utility
3#
4# Written 2010, 2011 by Werner Almesberger
5# Copyright 2010, 2011 Werner Almesberger
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12
13
14MAIN = atrf-gpio
15
16include ../Makefile.common
17
18MACROS_host += -DHAVE_ATUSB
19OBJS_host = atusb.o
20
21MACROS_ben_openwrt += -DHAVE_ATBEN
22OBJS_ben_openwrt = atben.o
23
24MACROS_ben_jlime += -DHAVE_ATBEN
25OBJS_ben_jlime = atben.o
26
27
28$(MAIN): $(OBJS_$(TARGET))
29
30clean::
31        rm -f $(OBJS_host) $(OBJS_ben_openwrt) $(OBJS_ben_jlime)
32

Archive Download this file



interactive