From 5f83664e8a4891945512c9adb4d2f0743cbb3afc Mon Sep 17 00:00:00 2001 From: Aiden Gall Date: Mon, 29 Jan 2024 10:55:40 +0000 Subject: initial commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0a9665c --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +SRC = ball-sim.asm +OBJ = ${SRC:.asm=.o} + +ball-sim: ${OBJ} + ld -o $@ $^ -O1 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -lc -lraylib -lm + +%.o: %.asm + fasm $< $@ + +.PHONY: clean + +clean: + rm -f ${OBJ} ball-sim -- cgit v1.2.3