From: Alan Cox Date: Sat, 21 Oct 2017 23:01:59 +0000 (+0100) Subject: Library: Fix Z80 breakage from 6809 fixes X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f66e9116094b0f80606101f8904a9a3b98d5b307;p=FUZIX.git Library: Fix Z80 breakage from 6809 fixes ifeq in Makefiles is subtle and quick to anger.... Also check z80 not sdcc. --- diff --git a/Library/Makefile b/Library/Makefile index 14a0f32b..5fe63b39 100644 --- a/Library/Makefile +++ b/Library/Makefile @@ -35,8 +35,9 @@ tools/binman: tools/binman.c tools/liberror: tools/liberror.c $(CC) $(CFLAGS) -o $@ $< + install: -ifeq ( $(CROSS_CC), "sdcc" ) +ifeq ($(USERCPU),z80) mkdir -p /opt/fcc/bin /opt/fcc/lib /opt/fcc/include mkdir -p /opt/fcc/include/6502 /opt/fcc/include/arpa mkdir -p /opt/fcc/include/msp430x /opt/fcc/include/netinet