From 0a933f682a19415b57e0c2152559a33252a252dd Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Mon, 19 Dec 2016 19:19:34 -0500 Subject: [PATCH] Resolve #27 by properly specifying dependencies. --- Makefile.am | 4 ++++ external/Makefile.am | 2 ++ source/Makefile.am | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ad66372..53dd1dd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,10 @@ SUBDIRS = include host external source patch contrib ACLOCAL_AMFLAGS = -I m4 +source: include host external + +external: include host + install: @echo "Please don't call the install target directly, it doesn't work." @exit 1 diff --git a/external/Makefile.am b/external/Makefile.am index 1508350..148f4de 100644 --- a/external/Makefile.am +++ b/external/Makefile.am @@ -1,3 +1,5 @@ SUBDIRS = libctr9 ctrulib/libctru loader bits +loader: ctrulib/libctru + install: diff --git a/source/Makefile.am b/source/Makefile.am index 9db3653..8a3142a 100644 --- a/source/Makefile.am +++ b/source/Makefile.am @@ -12,7 +12,7 @@ all-local: corbenik.bin clean-local: rm -f corbenik.bin -corbenik.bin: +corbenik.bin: corbenik $(OBJCOPY) $(OCFLAGS) -O binary corbenik corbenik.bin corbenikdir = $(top_srcdir)/source -- 2.39.5