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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2137 - (download) (annotate)
Thu Feb 14 12:39:47 2013 UTC (7 years ago) by lamonts
File size: 1174 byte(s)
implicit unit-circle example
# Makefile for circle implicit surface animation demo
#
# COPYRIGHT (c) 2012 The Diderot Project
# All rights reserved.
#

SHELL =		/bin/sh

INCLUDES =	-I@DIDEROT_SRCDIR@/include -I@TEEM_DIR@/include
CPPFLAGS =	@CPPFLAGS@ $(INCLUDES)
CFLAGS =	@CFLAGS@ @CFLAG_M64@ -g
LDFLAGS =	-L@TEEM_DIR@/lib -lteem @LIBM@

CC =		@CC@
CPPFLAGS =	-I../util @CPPFLAGS@ @TEEM_CPPFLAGS@
CFLAGS =	@CFLAGS@ -O3

ifeq ($(shell uname),Darwin)
	LIBS =  -lm -framework OpenGL -framework GLUT 
else 
	LIBS = -lGL -lm -lglut
endif

LDFLAGS =	@LDPATHS@ @TEEM_LDFLAGS@ $(LIBS) 

DIDEROTC =		@DIDEROT_BINDIR@/diderotc
DIDEROTC_FLAGS =	--snapshot --namespace=CIRCLE --disable-high-vn --disable-mid-vn --disable-low-vn  --target=c

UTIL_SRCS =		../util/util.c 

unit-circle:		main.c unit-circle.o $(UTIL_SRCS)
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c unit-circle.o $(UTIL_SRCS) $(LDFLAGS)

unit-circle.o:	unit-circle.diderot
	$(DIDEROTC) $(DIDEROTC_FLAGS) unit-circle.diderot


#################### Cleanup ####################

CLEAN_SUBDIRS =

CLEAN_FILES +=		unit-circle unit-circle.o unit-circle.c unit-circle.h

DISTCLEAN_FILES +=	Makefile

DEVCLEAN_FILES =

include @DIDEROT_MKDIR@/clean-rules.gmk


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