From: Oliver Schmidt Date: Tue, 4 Jun 2013 21:39:00 +0000 (+0200) Subject: Use unique variables for cc65 toolchain. X-Git-Tag: V2.15~269 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ed1fac0d678c0261679382cc1d172f01e4b6339;p=cc65 Use unique variables for cc65 toolchain. Originally I used the usual variables (like $(CC) and $(CFLAGS) ) but after all this doesn't make sense as any predefined values and/or user defined settings can only be wrong. --- diff --git a/libsrc/Makefile b/libsrc/Makefile index 4204f00bb..d855d1580 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -67,7 +67,8 @@ clean: else # TARGET -CFLAGS += -Osir -W error +CA65FLAGS = +CC65FLAGS = -Osir -W error EXTZP = cbm510 \ cbm610 \ @@ -178,7 +179,7 @@ $$($1_OBJS): | $$($1_OBJDIR) $$($1_DRVPAT): $$($1_OBJPAT) $$(ZPOBJ) | $$($1_DRVDIR) @echo $$(TARGET) - $$(@F) - @$$(LD) -o $$@ -t module $$^ + @$$(LD65) -o $$@ -t module $$^ $$($1_OBJDIR) $$($1_DRVDIR): @$$(call MKDIR,$$@) @@ -187,8 +188,8 @@ $(TARGET): $$($1_DRVS) $$($1_STCPAT): $$($1_DRVPAT) @echo $$(TARGET) - $$(