source: rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/cores/validation/validation_usb_device/build_gcc/Makefile@ 136

Last change on this file since 136 was 136, checked in by ertl-honda, 8 years ago

ライブラリとOS及びベーシックなサンプルの追加.

File size: 2.1 KB
Line 
1#
2# Copyright (c) 2014 Arduino. All right reserved.
3#
4# This library is free software; you can redistribute it and/or
5# modify it under the terms of the GNU Lesser General Public
6# License as published by the Free Software Foundation; either
7# version 2.1 of the License, or (at your option) any later version.
8#
9# This library is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12# See the GNU Lesser General Public License for more details.
13#
14# You should have received a copy of the GNU Lesser General Public
15# License along with this library; if not, write to the Free Software
16# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17#
18
19SUBMAKE_OPTIONS=--no-builtin-rules --no-builtin-variables --no-print-directory
20
21#-------------------------------------------------------------------------------
22# Rules
23#-------------------------------------------------------------------------------
24
25all: clean test
26
27test: test_usb_device
28
29debug: debug_test_usb_device
30
31clean: clean_test_usb_device
32
33.PHONY: test_usb_device
34test_usb_device:
35 @echo ------------------------------------------------------------------------------------
36 @echo --- Making test_usb_device
37 @$(MAKE) DEBUG=1 VARIANT=arduino_zero $(SUBMAKE_OPTIONS) -f test_usb_device.mk test
38 @echo ------------------------------------------------------------------------------------
39
40.PHONY: clean
41clean_test_usb_device:
42 @echo ------------------------------------------------------------------------------------
43 @echo --- Cleaning test_usb_device
44 @$(MAKE) DEBUG=1 VARIANT=arduino_zero $(SUBMAKE_OPTIONS) -f test_usb_device.mk clean
45 @echo ------------------------------------------------------------------------------------
46
47.PHONY: debug
48debug_test_usb_device:
49 @echo ------------------------------------------------------------------------------------
50 @echo --- Debugging test_usb_device
51 @$(MAKE) DEBUG=1 VARIANT=arduino_zero $(SUBMAKE_OPTIONS) -f test_usb_device.mk debug
52 @echo ------------------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.