forked from len0rd/rockbox
Don't add LIBSOURCES to SOURCES.
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
This commit is contained in:
parent
efe3775145
commit
6f4beaa52c
8 changed files with 17 additions and 24 deletions
|
|
@ -9,11 +9,11 @@
|
|||
CFLAGS += -I../../tools/ucl/include -Wall
|
||||
|
||||
OUTPUT = mkamsboot
|
||||
LIBUCL = libucl$(RBARCH).a
|
||||
LIBUCL = libucl.a
|
||||
|
||||
# inputs
|
||||
LIBSOURCES := dualboot.c md5.c mkamsboot.c
|
||||
SOURCES := $(LIBSOURCES) main.c
|
||||
SOURCES := main.c
|
||||
# additional link dependencies for the standalone executable
|
||||
EXTRADEPS := $(LIBUCL)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue