Root/tools/Makefile

Source at commit 417d12ce05b45f76d65b351240c6e75c0dfdbb3b created 12 years 9 months ago.
By Werner Almesberger, tools/Makefile (BEN_DIRS): added "dirtpan", so it's now included by default
1#
2# tools/Makefile - Build the ATRF-specific tools
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
14BEN_DIRS=atrf-gpio atrf-id atrf-path atrf-proxy atrf-reset \
15     atrf-rssi atrf-trim atrf-txrx atrf-xmit atrf-xtal dirtpan
16DIRS=$(BEN_DIRS) usbwait
17TARGET_ONLY_DIRS=lib
18
19ifeq ($(TARGET),ben_jlime)
20HOST = jlime
21else
22HOST = ben
23endif
24
25
26include ../makefiles/Makefile.recurse
27
28.PHONY: upload
29
30upload:
31        scp `for n in $(BEN_DIRS); do \
32            echo $$n/$$n; done` $(HOST):/usr/bin/
33

Archive Download this file



interactive