summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-03-05 06:51:46 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-03-05 06:51:46 (GMT)
commit796e816fb8eec0ddde4e1002ac0d913c57751918 (patch)
tree6cc711c438b3b16166b4d244b05a1ffd3640a168
parent513bae9bfbe8d38c935e42ec6d192b83f9476e47 (diff)
downloadvirtio9p-796e816fb8eec0ddde4e1002ac0d913c57751918.zip
virtio9p-796e816fb8eec0ddde4e1002ac0d913c57751918.tar.gz
virtio9p-796e816fb8eec0ddde4e1002ac0d913c57751918.tar.bz2
virtio9p-796e816fb8eec0ddde4e1002ac0d913c57751918.tar.xz
Rename *.S to *.asm to support case-insensitive filesystems
Allow building on case-insensitive filesystems by avoiding the *.S/*.s distinction.
-rw-r--r--Makefile8
-rw-r--r--acc.asm (renamed from acc.S)0
-rw-r--r--datetime.asm (renamed from datetime.S)0
-rw-r--r--fxn.asm (renamed from fxn.S)0
-rw-r--r--header.asm (renamed from header.S)0
-rw-r--r--int2f.asm (renamed from int2f.S)0
-rw-r--r--message.asm (renamed from message.S)0
-rw-r--r--pathname.asm (renamed from pathname.S)0
-rw-r--r--printmsg.asm (renamed from printmsg.S)0
-rw-r--r--protomsg.asm (renamed from protomsg.S)0
-rw-r--r--start.asm (renamed from start.S)0
-rw-r--r--utf.asm (renamed from utf.S)0
12 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 95c82bd..328dbee 100644
--- a/Makefile
+++ b/Makefile
@@ -38,15 +38,15 @@ OBJS = header.o start.o printmsg.o \
utf.o datetime.o \
message.o
-.SUFFIXES: .s .S .o .elf .lst .map .exe .img
+.SUFFIXES: .s .asm .o .elf .lst .map .exe .img
all: v9fs.exe v9fs.img
.PRECIOUS: %.s
-%.s: %.S v9fs.h
- $(CC) $(CFLAGS) -D__ASSEMBLY__ -E -o $@ $<
+%.s: %.asm v9fs.h
+ $(CC) $(CFLAGS) -x assembler-with-cpp -D__ASSEMBLY__ -E -o $@ $<
-%.o: %.S
+%.o: %.asm
.PRECIOUS: %.o
%.o: %.s
diff --git a/acc.S b/acc.asm
index 23c0b4d..23c0b4d 100644
--- a/acc.S
+++ b/acc.asm
diff --git a/datetime.S b/datetime.asm
index 162eaf2..162eaf2 100644
--- a/datetime.S
+++ b/datetime.asm
diff --git a/fxn.S b/fxn.asm
index b5b80f7..b5b80f7 100644
--- a/fxn.S
+++ b/fxn.asm
diff --git a/header.S b/header.asm
index a4c0bc7..a4c0bc7 100644
--- a/header.S
+++ b/header.asm
diff --git a/int2f.S b/int2f.asm
index 2f41e0c..2f41e0c 100644
--- a/int2f.S
+++ b/int2f.asm
diff --git a/message.S b/message.asm
index 12275bc..12275bc 100644
--- a/message.S
+++ b/message.asm
diff --git a/pathname.S b/pathname.asm
index dd666c2..dd666c2 100644
--- a/pathname.S
+++ b/pathname.asm
diff --git a/printmsg.S b/printmsg.asm
index 4293877..4293877 100644
--- a/printmsg.S
+++ b/printmsg.asm
diff --git a/protomsg.S b/protomsg.asm
index d615710..d615710 100644
--- a/protomsg.S
+++ b/protomsg.asm
diff --git a/start.S b/start.asm
index 668467d..668467d 100644
--- a/start.S
+++ b/start.asm
diff --git a/utf.S b/utf.asm
index e324b10..e324b10 100644
--- a/utf.S
+++ b/utf.asm