goat3d

view generators/goatprim/Makefile @ 58:d317eb4f83da

- made everything compile properly on windows again - removed libanim/libvmath, we'll use them as external dependencies - added new maxgoat_stub 3dsmax plugin project. Gets loaded as a max plugin and loads the actual maxgoat (and later maxgoat_anim) exporters on demand, to allow reloading the actual exporters without having to restart 3dsmax (which takes AGES).
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 25 Mar 2014 03:19:55 +0200
parents b59a3650ed51
children
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
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)