summaryrefslogtreecommitdiff
path: root/libphysics/Makefile
blob: 154e9f2d153cc467c4e4b73b787480525af43545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
OBJ=aabb.o\
	body.o\
	event.o\
	_map.o\
	tick.o\
	blockmap.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