goat3d
view generators/goatprim/Makefile @ 17:1d85d7dd0038
goatprim done
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 27 Sep 2013 02:29:52 +0300 |
parents | |
children | 0e31f2c3f29d |
line source
1 obj = main.o
2 bin = goatprim
4 goat_root = ../..
5 libgoat = $(goat_root)/libgoat3d.so.0.1
7 CC = clang
8 CXX = clang++
9 CFLAGS = -pedantic -Wall -g -I$(goat_root)/src
10 LDFLAGS = $(libgoat) -Wl,-rpath=$(goat_root)
12 $(bin): $(obj) $(libgoat)
13 $(CXX) -o $@ $(obj) $(LDFLAGS)
15 .PHONY: clean
16 clean:
17 rm -f $(obj) $(bin)