Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /examples/boids/Makefile.in
ViewVC logotype

Annotation of /examples/boids/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2129 - (view) (download)

1 : lamonts 2125 # Makefile for flocking animation demo
2 :     #
3 :     # COPYRIGHT (c) 2012 The Diderot Project
4 :     # All rights reserved.
5 :     #
6 :    
7 :     SHELL = /bin/sh
8 :    
9 :     CC = @CC@
10 :     CPPFLAGS = -I../util @CPPFLAGS@ @TEEM_CPPFLAGS@
11 :     CFLAGS = @CFLAGS@ -O3
12 :    
13 : lamonts 2129 ifeq ($(shell uname),Darwin)
14 :     LIBS = -lm -framework OpenGL -framework GLUT
15 :     else
16 :     LIBS = -lGL -lm -lglut
17 :     endif
18 :    
19 :     LDFLAGS = @LDPATHS@ @TEEM_LDFLAGS@ $(LIBS)
20 :    
21 : lamonts 2125 DIDEROTC = @DIDEROTC@
22 :     DIDEROTC_FLAGS = --snapshot --namespace=BOID --disable-high-vn --disable-mid-vn --disable-low-vn --target=c
23 :    
24 :     UTIL_SRCS = ../util/util.c
25 :    
26 : lamonts 2128 boid: main.c boids.o $(UTIL_SRCS)
27 :     $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c boids.o $(UTIL_SRCS) $(LDFLAGS)
28 : lamonts 2125
29 : lamonts 2128 boids.o: boids.diderot
30 :     $(DIDEROTC) $(DIDEROTC_FLAGS) boids.diderot
31 : lamonts 2125
32 :     clean:
33 : lamonts 2128 rm -rf boids boids.o boids.c boids.h

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0