From 6f4beaa52c33737f8ffd9047af2d9fe2fb168a1e Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 16 Dec 2016 19:39:07 +0100 Subject: 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 --- rbutil/ipodpatcher/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil/ipodpatcher/Makefile') diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index 382423b4f2..4254995d22 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile @@ -32,7 +32,7 @@ LDOPTS_OSX = -framework CoreFoundation -framework IOKit LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \ ipodio-posix.c ipodio-win32-scsi.c ipodio-win32.c -SOURCES = main.c $(BOOTSRC) $(LIBSOURCES) +SOURCES = main.c $(BOOTSRC) ipodpatcher: SOURCES+= ipodio-posix.c OUTPUT = ipodpatcher -- cgit v1.2.3