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

SCM Repository

[diderot] Annotation of /branches/lamont/test/implicit-surface/Makefile.in
ViewVC logotype

Annotation of /branches/lamont/test/implicit-surface/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2138 - (view) (download)

1 : lamonts 2137 # Makefile for circle implicit surface animation demo
2 :     #
3 :     # COPYRIGHT (c) 2012 The Diderot Project
4 :     # All rights reserved.
5 :     #
6 :    
7 :     SHELL = /bin/sh
8 :    
9 :     INCLUDES = -I@DIDEROT_SRCDIR@/include -I@TEEM_DIR@/include
10 :     CPPFLAGS = @CPPFLAGS@ $(INCLUDES)
11 :     CFLAGS = @CFLAGS@ @CFLAG_M64@ -g
12 :    
13 :     CC = @CC@
14 : lamonts 2138 CFLAGS = @CFLAGS@ @CFLAG_M64@ -g
15 : lamonts 2137
16 :     ifeq ($(shell uname),Darwin)
17 :     LIBS = -lm -framework OpenGL -framework GLUT
18 :     else
19 :     LIBS = -lGL -lm -lglut
20 :     endif
21 :    
22 : lamonts 2138 LDFLAGS = -L@TEEM_DIR@/lib -lteem @LIBM@ $(LIBS)
23 : lamonts 2137
24 :     DIDEROTC = @DIDEROT_BINDIR@/diderotc
25 : lamonts 2138 DIDEROTC_FLAGS = --snapshot --namespace=CIRCLE --disable-high-vn --disable-mid-vn --disable-low-vn --target=c
26 : lamonts 2137
27 :     unit-circle: main.c unit-circle.o $(UTIL_SRCS)
28 : lamonts 2138 $(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) main.c unit-circle.o
29 : lamonts 2137
30 :     unit-circle.o: unit-circle.diderot
31 :     $(DIDEROTC) $(DIDEROTC_FLAGS) unit-circle.diderot
32 :    
33 :    
34 :     #################### Cleanup ####################
35 :    
36 :     CLEAN_SUBDIRS =
37 :    
38 :     CLEAN_FILES += unit-circle unit-circle.o unit-circle.c unit-circle.h
39 :    
40 :     DISTCLEAN_FILES += Makefile
41 :    
42 :     DEVCLEAN_FILES =
43 :    
44 :     include @DIDEROT_MKDIR@/clean-rules.gmk
45 :    

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