Root/tools/Makefile

Source at commit 85f60de9d52195afb3a0232a03e850d96584bb9a created 12 years 10 months ago.
By Werner Almesberger, atusb/fw: use the unique serial number of the ATmega8/16/32U2 for iSerialNumber
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
14DIRS=atrf-id atrf-path atrf-proxy atrf-reset atrf-rssi atrf-trim atrf-txrx \
15     atrf-xmit atrf-xtal
16TARGET_ONLY_DIRS=lib
17
18ifeq ($(TARGET),ben_jlime)
19HOST = jlime
20else
21HOST = ben
22endif
23
24
25include ../makefiles/Makefile.recurse
26
27.PHONY: upload
28
29upload:
30        scp `for n in $(DIRS); do echo $$n/$$n; done` $(HOST):/usr/bin/
31

Archive Download this file



interactive