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