From: Greg King Date: Thu, 9 May 2013 18:46:04 +0000 (-0400) Subject: Made geos-apple's file-converter depend on apple2enh's library. X-Git-Tag: V2.14~2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F10%2Fhead;p=cc65 Made geos-apple's file-converter depend on apple2enh's library. The geos-apple target will build that library if it doesn't exist. --- 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