goat3d

diff generators/goatprim/Makefile @ 16:cb6c1a945a11

goat3d is starting to become functional inch by inch
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 26 Sep 2013 14:16:09 +0300
parents
children 0e31f2c3f29d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/generators/goatprim/Makefile	Thu Sep 26 14:16:09 2013 +0300
     1.3 @@ -0,0 +1,17 @@
     1.4 +obj = main.o
     1.5 +bin = goatprim
     1.6 +
     1.7 +goat_root = ../..
     1.8 +libgoat = $(goat_root)/libgoat3d.so.0.1
     1.9 +
    1.10 +CC = clang
    1.11 +CXX = clang++
    1.12 +CFLAGS = -pedantic -Wall -g -I$(goat_root)/src
    1.13 +LDFLAGS = $(libgoat) -Wl,-rpath=$(goat_root)
    1.14 +
    1.15 +$(bin): $(obj) $(libgoat)
    1.16 +	$(CXX) -o $@ $(obj) $(LDFLAGS)
    1.17 +
    1.18 +.PHONY: clean
    1.19 +clean:
    1.20 +	rm -f $(obj) $(bin)