Merge pull request #59 from adamgreen/gcc-20120316
[clinton/Smoothieware.git] / makefile
CommitLineData
4cff3ded
AW
1# Copyright 2011 Adam Green (http://mbed.org/users/AdamGreen/)\r
2#\r
3# Licensed under the Apache License, Version 2.0 (the "License");\r
4# you may not use this file except in compliance with the License.\r
5# You may obtain a copy of the License at\r
6#\r
7# http://www.apache.org/licenses/LICENSE-2.0\r
8#\r
9# Unless required by applicable law or agreed to in writing, software\r
10# distributed under the License is distributed on an "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
12# See the License for the specific language governing permissions and\r
13# limitations under the License.\r
14PROJECT=main\r
4eb9c745 15GCC4MBED_DIR=./gcc4mbed\r
4cff3ded
AW
16INCDIRS=\r
17LIBS_PREFIX=\r
18LIBS_SUFFIX=\r
b6c86164 19SRC=./src\r
6c79da43 20GCC4MBED_TYPE=Checked\r
1306ba99 21MRI_UART=MRI_UART_MBED_USB MRI_UART_SHARE\r
6c79da43
AG
22MRI_BREAK_ON_INIT=0\r
23MRI_SEMIHOST_STDIO=0\r
4cff3ded
AW
24\r
25include ./gcc4mbed/build/gcc4mbed.mk\r
26\r
27flash: \r
b66fb830 28 lpc21isp $(PROJECT).hex /dev/ttyACM0 115200 14746\r
4cff3ded
AW
29\r
30\r