change .nasm extension to .s

This commit is contained in:
Josh Coalson 2001-05-25 00:05:47 +00:00
parent 5469112ee3
commit 45d7bfc891

View File

@ -27,23 +27,23 @@ C_FILES= \
stream_decoder.c
NASM_FILES= \
i386/cpu_asm.nasm \
i386/fixed_asm.nasm \
i386/lpc_asm.nasm
i386/cpu_asm.s \
i386/fixed_asm.s \
i386/lpc_asm.s
OBJS= $(C_FILES:.c=.obj) $(NASM_FILES:.nasm=.obj)
OBJS= $(C_FILES:.c=.obj) $(NASM_FILES:.s=.obj)
all: libFLAC.lib
libFLAC.lib: $(OBJS)
link.exe -lib -out:../../obj/lib/$*.lib $(OBJS)
i386/cpu_asm.obj: i386/cpu_asm.nasm
$(NASM) -f win32 -d WIN32 -i i386/ i386/cpu_asm.nasm -o i386/cpu_asm.obj
i386/fixed_asm.obj: i386/fixed_asm.nasm
$(NASM) -f win32 -d WIN32 -i i386/ i386/fixed_asm.nasm -o i386/fixed_asm.obj
i386/lpc_asm.obj: i386/lpc_asm.nasm
$(NASM) -f win32 -d WIN32 -i i386/ i386/lpc_asm.nasm -o i386/lpc_asm.obj
i386/cpu_asm.obj: i386/cpu_asm.s
$(NASM) -f win32 -d WIN32 -i i386/ i386/cpu_asm.s -o i386/cpu_asm.obj
i386/fixed_asm.obj: i386/fixed_asm.s
$(NASM) -f win32 -d WIN32 -i i386/ i386/fixed_asm.s -o i386/fixed_asm.obj
i386/lpc_asm.obj: i386/lpc_asm.s
$(NASM) -f win32 -d WIN32 -i i386/ i386/lpc_asm.s -o i386/lpc_asm.obj
clean:
-del *.obj i386\*.obj *.pch