goat3d
annotate generators/goatprim/Makefile @ 17:1d85d7dd0038
goatprim done
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 27 Sep 2013 02:29:52 +0300 |
parents | |
children | 0e31f2c3f29d |
rev | line source |
---|---|
nuclear@16 | 1 obj = main.o |
nuclear@16 | 2 bin = goatprim |
nuclear@16 | 3 |
nuclear@16 | 4 goat_root = ../.. |
nuclear@16 | 5 libgoat = $(goat_root)/libgoat3d.so.0.1 |
nuclear@16 | 6 |
nuclear@16 | 7 CC = clang |
nuclear@16 | 8 CXX = clang++ |
nuclear@16 | 9 CFLAGS = -pedantic -Wall -g -I$(goat_root)/src |
nuclear@16 | 10 LDFLAGS = $(libgoat) -Wl,-rpath=$(goat_root) |
nuclear@16 | 11 |
nuclear@16 | 12 $(bin): $(obj) $(libgoat) |
nuclear@16 | 13 $(CXX) -o $@ $(obj) $(LDFLAGS) |
nuclear@16 | 14 |
nuclear@16 | 15 .PHONY: clean |
nuclear@16 | 16 clean: |
nuclear@16 | 17 rm -f $(obj) $(bin) |