goat3d
annotate generators/goatprim/Makefile @ 40:a5c5cec3cb88
- added mesh attribute and face append functions
- added Int4 constructor
- continued the blender exporter
- fixed a bug in clean_filename which made it produce unterminated strings
- renamed clean_filename to goat3d_clean_filename and made it extern
- added call to goat3d_clean_filename in the mesh XML export code to cleanup ctm filenames
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Oct 2013 10:14:19 +0300 |
parents | 0e31f2c3f29d |
children | 1dcbe87b6a5d |
rev | line source |
---|---|
nuclear@16 | 1 obj = main.o |
nuclear@16 | 2 bin = goatprim |
nuclear@16 | 3 |
nuclear@16 | 4 goat_root = ../.. |
nuclear@21 | 5 |
nuclear@21 | 6 ifeq ($(shell uname -s), Darwin) |
nuclear@21 | 7 libgoat = $(goat_root)/libgoat3d.dylib |
nuclear@21 | 8 else |
nuclear@23 | 9 libgoat = $(goat_root)/libgoat3d.so.0.1 -Wl,-rpath=$(goat_root) |
nuclear@21 | 10 endif |
nuclear@16 | 11 |
nuclear@16 | 12 CC = clang |
nuclear@16 | 13 CXX = clang++ |
nuclear@16 | 14 CFLAGS = -pedantic -Wall -g -I$(goat_root)/src |
nuclear@23 | 15 LDFLAGS = $(libgoat) |
nuclear@16 | 16 |
nuclear@16 | 17 $(bin): $(obj) $(libgoat) |
nuclear@16 | 18 $(CXX) -o $@ $(obj) $(LDFLAGS) |
nuclear@16 | 19 |
nuclear@16 | 20 .PHONY: clean |
nuclear@16 | 21 clean: |
nuclear@16 | 22 rm -f $(obj) $(bin) |