Dominik Riebeling | c7c657c | 2011-09-26 20:51:23 +0000 | [diff] [blame] | 1 | # __________ __ ___. |
| 2 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 3 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 4 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 5 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 6 | # \/ \/ \/ \/ \/ |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 7 | |
Dominik Riebeling | 6b8f0b0 | 2011-12-14 22:00:06 +0000 | [diff] [blame] | 8 | TARGET_DIR ?= $(shell pwd)/ |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 9 | # We use the UCL code available in the Rockbox tools/ directory |
Dominik Riebeling | c5530d9 | 2012-01-02 16:59:26 +0000 | [diff] [blame] | 10 | CFLAGS += -I../../tools/ucl/include -Wall |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 11 | |
Dominik Riebeling | 6b8f0b0 | 2011-12-14 22:00:06 +0000 | [diff] [blame] | 12 | OUTPUT = mkmpioboot |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 13 | |
| 14 | # inputs |
Dominik Riebeling | 6b8f0b0 | 2011-12-14 22:00:06 +0000 | [diff] [blame] | 15 | LIBSOURCES = mkmpioboot.c |
| 16 | SOURCES = $(LIBSOURCES) main.c |
| 17 | EXTRADEPS = $(LIBUCL) |
| 18 | |
| 19 | include ../libtools.make |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 20 | |
| 21 | # explicit dependencies |
| 22 | $(OBJDIR)mkmpioboot.o: mkmpioboot.c mkmpioboot.h |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 23 | |