Files
g2/Reference/Makefile
T
Robert Giseburt 72732d29dc Now supporting symbolic debugging in AS6.1, compiled via Makefile.
I was also able to compile on OS X (with yagarto-4.7.2), and debug the generated TinyG2.elf file using Atmel Studio 6.1.

I added the Reference directory with a Makefile to gather reference code. This currently only contains newlib-1.20, and is used for symbolic debugging only. To download and prepare all of the reference code, just:

cd Reference
make
2013-04-17 11:10:44 -05:00

22 lines
509 B
Makefile

## In order to download and decompress the reference coded *useful* for symbolic debugging,
## Just call "make" from this directory.
# Program paths
WGET=wget
TAR=tar xzvf
TOUCH=touch
# Newlib locations
NEWLIB_VERSION=1.20.0
NEWLIB_URL=ftp://sources.redhat.com/pub/newlib/newlib-$(NEWLIB_VERSION).tar.gz
NEWLIB_DIRECTORY=./newlib-$(NEWLIB_VERSION)/
# Rules
all: $(NEWLIB_DIRECTORY)
$(NEWLIB_DIRECTORY): | newlib-$(NEWLIB_VERSION).tar.gz
$(TAR) $|
newlib-$(NEWLIB_VERSION).tar.gz:
$(WGET) $(NEWLIB_URL)