From 7e9043d484c30d018a012f835dda5eae9fa17860 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 30 Sep 2026 12:37:06 +1300 Subject: idk whats even in this commit --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0b1c9ea --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +.PHONY: all clean + +all: main curl_test loop + +loop.o: + nasm -f elf64 loop.asm -o loop.o + +loop: loop.o + gcc loop.o -o loop + +main.o: + nasm -f elf64 main.asm -o main.o + +main: main.o + gcc main.o -o main + +curl_test.o: + nasm -f elf64 curl_test.asm -o curl_test.o + +curl_test: curl_test.o + gcc curl_test.o -lcurl -o curl_test + +clean: + rm curl_test.o curl_test main.o main loop.o loop -- cgit v1.2.3