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

SCM Repository

[diderot] View of /branches/lamont/test/boids/Makefile.in
ViewVC logotype

View of /branches/lamont/test/boids/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (download) (annotate)
Tue Oct 27 15:16:36 2015 UTC (3 years, 9 months ago) by jhr
File size: 1012 byte(s)
making copyrights consistent for all code in the repository
# Makefile for boids 
#
# This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
#
# COPYRIGHT (c) 2015 The University of Chicago
# All rights reserved.
#

SHELL =		/bin/sh

CC =		@CC@
INCLUDES =	-I@DIDEROT_SRCDIR@/include -I@TEEM_DIR@/include
CPPFLAGS =	@CPPFLAGS@ $(INCLUDES)
CFLAGS =	@CFLAGS@ @CFLAG_MXX@ -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=BOID  --disable-high-vn --disable-mid-vn --disable-low-vn --target=c


boids: main.c boids.o 
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) main.c boids.o 

boids.o:	boids.diderot
	$(DIDEROTC) $(DIDEROTC_FLAGS) boids.diderot

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

CLEAN_SUBDIRS =

CLEAN_FILES +=		boids boids.o boids.c boids.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