goat3d
view libs/anim/Makefile @ 43:1dcbe87b6a5d
ops, screwed up the GOAT3DAPI define
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 05 Dec 2013 18:49:19 +0200 |
parents | |
children |
line source
1 src = $(wildcard *.c)
2 obj = $(src:.c=.o)
3 lib = libanim.a
5 ifneq ($(shell uname -s), Darwin)
6 pic = -fPIC
7 endif
9 CFLAGS = -pedantic -Wall -g $(pic)
10 CXXFLAGS = -pedantic -Wall -g $(pic)
12 $(lib): $(obj)
13 $(AR) rcs $@ $(obj)
15 .PHONY: clean
16 clean:
17 rm -f $(obj) $(lib)