summaryrefslogtreecommitdiff
path: root/libphysics/Makefile
blob: 5d3802cb4598539d4cfe13fd7516184da3caf91b (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 dat.h
	$(CC) $< $(CFLAGS) -c -o $@

.PHONY: all clean