From 415279457bb7fbb03df767bb3a88f6e0ff0d316e Mon Sep 17 00:00:00 2001 From: Greg King Date: Thu, 9 May 2013 14:46:04 -0400 Subject: [PATCH] Made geos-apple's file-converter depend on apple2enh's library. The geos-apple target will build that library if it doesn't exist. --- libsrc/geos-apple/targetutil/Makefile.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libsrc/geos-apple/targetutil/Makefile.inc b/libsrc/geos-apple/targetutil/Makefile.inc index 84d65f955..b5b2d3671 100644 --- a/libsrc/geos-apple/targetutil/Makefile.inc +++ b/libsrc/geos-apple/targetutil/Makefile.inc @@ -5,7 +5,10 @@ DEPS += ../wrk/$(TARGET)/convert.d ../wrk/$(TARGET)/convert.o: $(SRCDIR)/targetutil/convert.c | ../wrk/$(TARGET) $(COMPILE_recipe) -../targetutil/convert.system: ../wrk/$(TARGET)/convert.o | ../targetutil - $(LD) -o $@ -C apple2enh-system.cfg $^ apple2enh.lib +../lib/apple2enh.lib: + @$(MAKE) --no-print-directory apple2enh + +../targetutil/convert.system: ../wrk/$(TARGET)/convert.o ../lib/apple2enh.lib | ../targetutil + $(LD) -o $@ -C apple2enh-system.cfg $^ $(TARGET): ../targetutil/convert.system