summaryrefslogtreecommitdiff
path: root/libphysics/Makefile
blob: cc76e28bff22113d041c2dd4bab7538ce4b118d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
OBJ=aabb.o\
	body.o\
	event.o\
	_map.o\
	tick.o

CFLAGS=-I../include -g

all: libphysics.a

clean:
	rm -f libphysics.a
	rm -f $(OBJ)

libphysics.a: $(OBJ)
	ar rcs $@ $^

%.o: %.c
	$(CC) $< $(CFLAGS) -c -o $@

.PHONY: all clean