blob: df49c6977df46996b8b0e0efd86e3112ea6aaba1 [file] [log] [blame]
Dave Chapman48430bf2009-10-28 21:11:43 +00001# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
Tomer Shalevad785512009-10-29 21:31:50 +00009
10# We use the Telechips code available in the Rockbox tools/ directory
Dominik Riebelingb24e5622011-12-14 21:59:37 +000011TOOLSDIR = ../../tools/
Dominik Riebelingc5530d92012-01-02 16:59:26 +000012CFLAGS += -O -g -W -Wall -Wshadow -pedantic -I$(TOOLSDIR)
Dave Chapman48430bf2009-10-28 21:11:43 +000013
Dominik Riebelingb24e5622011-12-14 21:59:37 +000014OUTPUT = mktccboot
Tomer Shalevad785512009-10-29 21:31:50 +000015
Tomer Shalevad785512009-10-29 21:31:50 +000016
Dominik Riebeling20f3e642009-11-04 21:56:40 +000017# inputs
Dominik Riebelingb24e5622011-12-14 21:59:37 +000018LIBSOURCES := mktccboot.c $(TOOLSDIR)telechips.c
Dominik Riebeling20f3e642009-11-04 21:56:40 +000019SOURCES := $(LIBSOURCES) main.c
Dominik Riebeling20f3e642009-11-04 21:56:40 +000020EXTRADEPS :=
21
Dominik Riebelingb24e5622011-12-14 21:59:37 +000022include ../libtools.make
23
Dominik Riebeling20f3e642009-11-04 21:56:40 +000024# rule for sources from tools dir
Dominik Riebelingb24e5622011-12-14 21:59:37 +000025# Rules go _after_ including mkboot.make to have OBJDIR set up correctly.
26# Paths are assumed to end with a /
27telechips.o: $(OBJDIR)telechips.o
Tomer Shalev08c5a662009-10-30 14:27:16 +000028