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 3349 - (view) (download)

1 : lamonts 2125 # Makefile for flocking animation demo
2 :     #
3 : jhr 3349 # This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
4 :     #
5 :     # COPYRIGHT (c) 2015 The University of Chicago
6 : lamonts 2125 # All rights reserved.
7 :     #
8 :    
9 :     SHELL = /bin/sh
10 :    
11 :     CC = @CC@
12 :     CPPFLAGS = -I../util @CPPFLAGS@ @TEEM_CPPFLAGS@
13 :     CFLAGS = @CFLAGS@ -O3
14 :    
15 : lamonts 2129 ifeq ($(shell uname),Darwin)
16 :     LIBS = -lm -framework OpenGL -framework GLUT
17 :     else
18 :     LIBS = -lGL -lm -lglut
19 :     endif
20 :    
21 :     LDFLAGS = @LDPATHS@ @TEEM_LDFLAGS@ $(LIBS)
22 :    
23 : lamonts 2125 DIDEROTC = @DIDEROTC@
24 :     DIDEROTC_FLAGS = --snapshot --namespace=BOID --disable-high-vn --disable-mid-vn --disable-low-vn --target=c
25 :    
26 :     UTIL_SRCS = ../util/util.c
27 :    
28 : lamonts 2128 boid: main.c boids.o $(UTIL_SRCS)
29 :     $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c boids.o $(UTIL_SRCS) $(LDFLAGS)
30 : lamonts 2125
31 : lamonts 2128 boids.o: boids.diderot
32 :     $(DIDEROTC) $(DIDEROTC_FLAGS) boids.diderot
33 : lamonts 2125
34 :     clean:
35 : 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