goat3d
view generators/goatprim/Makefile @ 38:60f2037680ee
split the exporter into two files to make it more readable (and maybe make an importer too at some point?)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 07 Oct 2013 20:02:57 +0300 |
parents | 0e31f2c3f29d |
children | 1dcbe87b6a5d |
line source
1 obj = main.o
2 bin = goatprim
4 goat_root = ../..
6 ifeq ($(shell uname -s), Darwin)
7 libgoat = $(goat_root)/libgoat3d.dylib
8 else
9 libgoat = $(goat_root)/libgoat3d.so.0.1 -Wl,-rpath=$(goat_root)
10 endif
12 CC = clang
13 CXX = clang++
14 CFLAGS = -pedantic -Wall -g -I$(goat_root)/src
15 LDFLAGS = $(libgoat)
17 $(bin): $(obj) $(libgoat)
18 $(CXX) -o $@ $(obj) $(LDFLAGS)
20 .PHONY: clean
21 clean:
22 rm -f $(obj) $(bin)