From c818d185bad4b2bb97ff44757f208564b7468864 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Wed, 24 Sep 2025 00:37:05 +0200 Subject: [PATCH] makefile: autobuild all nasm stuff --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 13201a1..757ae34 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,7 @@ dev-image = 5150-dev -writefloppy.bin: writefloppy.asm - nasm writefloppy.asm -o writefloppy.bin - -readfloppy.bin: readfloppy.asm - nasm readfloppy.asm -o readfloppy.bin +%.bin: %.asm + nasm $? -o $@ crc16.s: crc16.c ia16-elf-gcc -S -Os -o crc16.s crc16.c