From 1e9863466b5f592516ffcfbf3571718df22d5899 Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Wed, 26 Nov 2014 23:06:45 -0800 Subject: [PATCH] portable makefile syntax --- arch/dos/Makefile.am | 2 +- maths/Makefile.am | 2 +- texmap/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/dos/Makefile.am b/arch/dos/Makefile.am index 9cdb32ad..fe56310f 100644 --- a/arch/dos/Makefile.am +++ b/arch/dos/Makefile.am @@ -8,7 +8,7 @@ libarch_dos_a_SOURCES = \ digi.c dpmi.c findfile.c gr.c init.c ipx.c joyc.c joydefs.c key.c mouse.c rbaudio.c vesa.c SUFFIXES = .asm -%.o: %.asm +.asm.o: $(NASM) $(NASMFLAGS) $< -o $@ libarch_dos_a_LIBADD = timer.o modex.o diff --git a/maths/Makefile.am b/maths/Makefile.am index 584e25d0..f92629f5 100644 --- a/maths/Makefile.am +++ b/maths/Makefile.am @@ -8,7 +8,7 @@ libmaths_a_SOURCES = vecmat.c rand.c tables.c fixc.c endif SUFFIXES = .asm -%.o: %.asm +.asm.o: $(NASM) $(NASMFLAGS) $< -o $@ if USE_ASM diff --git a/texmap/Makefile.am b/texmap/Makefile.am index 0dfaa6b7..8f95048a 100644 --- a/texmap/Makefile.am +++ b/texmap/Makefile.am @@ -12,7 +12,7 @@ libtexmap_a_SOURCES = ${NOGL_SRCS} ${ASM_SRCS} \ ntmap.c scanline.c SUFFIXES = .asm -%.o: %.asm +.asm.o: $(NASM) $(NASMFLAGS) $< -o $@ if !USE_OPENGL -- 2.39.2