d16cefca95
As a result building mkamsboot for Rockbox Utility will now respect BUILD_DIR, which should eliminate all possibly remaining issues with dualboot.o. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31283 a1c6a512-1295-4272-9138-f99709370657
24 lines
912 B
Makefile
24 lines
912 B
Makefile
# __________ __ ___.
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
# \/ \/ \/ \/ \/
|
|
|
|
# We use the UCL code available in the Rockbox tools/ directory
|
|
CFLAGS += -I../../tools/ucl/include -Wall
|
|
|
|
OUTPUT = mkamsboot
|
|
LIBUCL = libucl$(RBARCH).a
|
|
|
|
# inputs
|
|
LIBSOURCES := dualboot.c md5.c mkamsboot.c
|
|
SOURCES := $(LIBSOURCES) main.c
|
|
# additional link dependencies for the standalone executable
|
|
EXTRADEPS := $(LIBUCL)
|
|
|
|
include ../libtools.make
|
|
# explicit dependencies on dualboot.{c,h} and mkamsboot.h
|
|
$(OBJDIR)mkamsboot.o: dualboot.h dualboot.c mkamsboot.c mkamsboot.h
|
|
$(OBJDIR)main.o: dualboot.h dualboot.c main.c mkamsboot.h
|
|
|