diff options
author | Aiden Gall <aiden@aidengall.xyz> | 2024-01-29 10:55:40 +0000 |
---|---|---|
committer | Aiden Gall <aiden@aidengall.xyz> | 2024-01-29 10:55:40 +0000 |
commit | 5f83664e8a4891945512c9adb4d2f0743cbb3afc (patch) | |
tree | 7fe6a6a9d26d885098d50797105706861d35503a /Makefile |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |