From 3f5a653326ed76031027c152b14cffecffdf56cf Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Thu, 10 Mar 2022 10:17:37 -0600 Subject: [PATCH] Rename assembly files from .S to .s --- sw/Makefile | 8 ++++---- sw/{boot.S => boot.s} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename sw/{boot.S => boot.s} (100%) diff --git a/sw/Makefile b/sw/Makefile index 15a751d..88e32fa 100644 --- a/sw/Makefile +++ b/sw/Makefile @@ -1,5 +1,5 @@ CC=cl65 -CFLAGS=-t none -I. +CFLAGS=-t none -I. --cpu "65C02" LDFLAGS=-C link.ld NAME=bootrom @@ -7,8 +7,8 @@ NAME=bootrom BIN=$(NAME).bin HEX=$(NAME).hex -SRCS=$(wildcard *.S) $(wildcard *.c) -OBJS+=$(patsubst %.S,%.o,$(filter %S,$(SRCS))) +SRCS=$(wildcard *.s) $(wildcard *.c) +OBJS+=$(patsubst %.s,%.o,$(filter %s,$(SRCS))) OBJS+=$(patsubst %.c,%.o,$(filter %c,$(SRCS))) all: $(HEX) @@ -23,7 +23,7 @@ $(BIN): $(OBJS) %.o: %.c $(CC) $(CFLAGS) -c $< -o $@ -%.o: %.S +%.o: %.s $(CC) $(CFLAGS) -c $< -o $@ diff --git a/sw/boot.S b/sw/boot.s similarity index 100% rename from sw/boot.S rename to sw/boot.s