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 2226 - (download) (annotate)
Thu Feb 28 17:35:37 2013 UTC (7 years, 4 months ago) by lamonts
File size: 1069 byte(s)
Adding no opengl verison to unit circle test
# Makefile for particles around a unit circle  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

CC =		@CC@
CFLAGS =	@CFLAGS@ @CFLAG_M64@ -g

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

LDFLAGS = -L@TEEM_DIR@/lib -lteem @LIBM@ $(LIBS) 

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

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

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