From 74cad993376dc269e8389fbf150be9ecc36890c7 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sun, 6 Aug 2023 00:25:53 +0200 Subject: fibs work --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d75a9df..8866dc6 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,17 @@ -all: uskel +SYMSRCS=$(wildcard *.s) +OBJS=$(SYMSRCS:.s=.o) +PROGS=$(SYMSRCS:.s=) + +.SUFFIXES: + +all: $(PROGS) clean: - rm -f uskel.o uskel + rm -f $(OBJS) $(PROGS) -uskel.o: uskel.s $(wildcard *.s) +%.o: %.s $(wildcard include/*.s) as $< -o $@ -uskel: uskel.o +%: %.o ld $@.o -o $@ -- cgit v1.2.3