summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0a9665c14c31237ca86ac5ec8fc601d79837b660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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