From 00bb0f9704f3ba27e2f7b1e2e9d3dedc6639c12f Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 9 May 2013 01:32:48 +0200
Subject: [PATCH] Hack: Changed TARGET order to have apple2enh.lib available
for convert.system.
There's a quite special case of a targetutil for the TARGET geos-apple having to be
built as TARGET apple2enh binary. We can't just add a dependency to ../lib/apple2enhlib
because the TARGETs are built in individual make instances (because of vpath).
Doing that the "right way" would be _very_ complicated and would turn the Makefiles way
less readable. Therefore I decided to solve that by just reordering the TARGETs. Surely
this won't work if i.e. 'make geos-apple' is entered on a clean system. But still I consider
it appropriate.
I ordered the TARGETs btw so that they are more in an alphabetical order...
---
libsrc/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libsrc/Makefile b/libsrc/Makefile
index ea4864994..ae691697d 100644
--- a/libsrc/Makefile
+++ b/libsrc/Makefile
@@ -10,12 +10,12 @@ CBMS = c128 \
GEOS = geos-apple \
geos-cbm
-TARGETS = $(CBMS) \
- $(GEOS) \
- apple2 \
+TARGETS = apple2 \
apple2enh \
atari \
atmos \
+ $(CBMS) \
+ $(GEOS) \
lynx \
nes \
supervision
--
2.39.5