diff options
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 |