6c02b17c8510089ca3932b5d8dd10f2536de0461
[deeprace] / libs / goat3d / Makefile
1 obj = src/aabox.o src/chunk.o src/dynarr.o src/extmesh.o src/g3danm.o \
2           src/g3dscn.o src/goat3d.o src/log.o src/read.o src/track.o src/write.o
3 alib = ../unix/goat3d.a
4
5 CFLAGS = -O3 -Iinclude -I../treestor/include -I..
6
7 $(alib): $(obj)
8         $(AR) rcs $@ $(obj)
9
10 .c.o:
11         $(CC) $(CFLAGS) -c $< -o $@
12
13 .PHONY: clean
14 clean:
15         rm -f $(obj) $(alib)