goat3d
annotate libs/anim/Makefile @ 45:8da36540e2e9
fixed memory leak in readxml and reversed error return
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 08 Dec 2013 02:27:32 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@29 | 1 src = $(wildcard *.c) |
nuclear@29 | 2 obj = $(src:.c=.o) |
nuclear@29 | 3 lib = libanim.a |
nuclear@29 | 4 |
nuclear@29 | 5 ifneq ($(shell uname -s), Darwin) |
nuclear@29 | 6 pic = -fPIC |
nuclear@29 | 7 endif |
nuclear@29 | 8 |
nuclear@29 | 9 CFLAGS = -pedantic -Wall -g $(pic) |
nuclear@29 | 10 CXXFLAGS = -pedantic -Wall -g $(pic) |
nuclear@29 | 11 |
nuclear@29 | 12 $(lib): $(obj) |
nuclear@29 | 13 $(AR) rcs $@ $(obj) |
nuclear@29 | 14 |
nuclear@29 | 15 .PHONY: clean |
nuclear@29 | 16 clean: |
nuclear@29 | 17 rm -f $(obj) $(lib) |