6f4beaa52c
Split source files for library and stand-alone binary and use library as dependency when building the stand-alone binary. This avoids dependencies getting added multiple times. Remove outdated RBARCH handling, we always create fat binaries on OS X these days. Change-Id: Ia15a731296edcbe90869a1bf66dda2c3d6c7e317
23 lines
710 B
Makefile
23 lines
710 B
Makefile
# __________ __ ___.
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
# \/ \/ \/ \/ \/
|
|
|
|
TARGET_DIR ?= $(shell pwd)/
|
|
# We use the UCL code available in the Rockbox tools/ directory
|
|
CFLAGS += -I../../tools/ucl/include -Wall
|
|
|
|
OUTPUT = mkmpioboot
|
|
|
|
# inputs
|
|
LIBSOURCES = mkmpioboot.c
|
|
SOURCES = main.c
|
|
EXTRADEPS = $(LIBUCL)
|
|
|
|
include ../libtools.make
|
|
|
|
# explicit dependencies
|
|
$(OBJDIR)mkmpioboot.o: mkmpioboot.c mkmpioboot.h
|
|
|