From b328a92f0e3c648bad7ef47a98f1db75e545789a Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 24 Jul 2024 22:39:59 -0400 Subject: initial commit --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b5d8aae --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +APP=./hi +OBJS=hi.o + +.PHONY=all + +all: $(APP) + +$(APP): $(OBJS) + ld -s -o $(APP) $(OBJS) + +hi.o: hi.s + as -o hi.o hi.s + +clean: + $(RM) $(APP) $(OBJS) -- cgit v1.2.3