From 5ed1fac0d678c0261679382cc1d172f01e4b6339 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Tue, 4 Jun 2013 23:39:00 +0200 Subject: [PATCH] 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. --- libsrc/Makefile | 29 ++++++++++++----------- libsrc/apple2/targetutil/Makefile.inc | 2 +- libsrc/atari/Makefile.inc | 2 +- libsrc/geos-apple/Makefile.inc | 2 +- libsrc/geos-apple/targetutil/Makefile.inc | 2 +- libsrc/geos-cbm/Makefile.inc | 2 +- 6 files changed, 20 insertions(+), 19 deletions(-) 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) - $$(