goat3d

view 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 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)