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

SCM Repository

[diderot] View of /branches/fem/examples/simple_d2s/Makefile
ViewVC logotype

View of /branches/fem/examples/simple_d2s/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3234 - (download) (annotate)
Fri Aug 14 13:35:44 2015 UTC (4 years ago) by cchiw
File size: 1087 byte(s)
updated examples
# Makefile for simple_d2s viewer demo
#
# COPYRIGHT (c) 2012 The Diderot Project
# All rights reserved.
#

SHELL =		/bin/sh

CC =		clang
CPPFLAGS =	-I../util -I/opt/local -I/usr/local/ -I/usr/local/ -I/Users/chariseechiw/firedrake/vedat/
CFLAGS =	-O3
FRAMEWORKS =	-framework Cocoa -framework OpenGL -framework IOKit -framework CoreFoundation -framework CoreVideo
LDFLAGS =	-L/opt/local/lib -L/usr/local/lib -L/usr/local/ -lteem -lglfw3 -lpng $(FRAMEWORKS) -dynamiclib

DIDEROTC =		/Users/chariseechiw/Desktop/Diderot/fem/bin/diderotc 
DIDEROTC_FLAGS =	--namespace=simple_d2s --target=pthread

UTIL_SRCS =		../util/util.c

lib_simple_d2s.dylib:		init.c simple_d2s.o $(UTIL_SRCS)
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) init.c simple_d2s.o /Users/chariseechiw/firedrake/vedat/locate.o /Users/chariseechiw/firedrake/vedat/evaluate.o  $(UTIL_SRCS) $(LDFLAGS)

simple_d2s.o:	simple_d2s.diderot
	$(DIDEROTC) $(DIDEROTC_FLAGS)  --namespace=simple_d2s  simple_d2s.diderot

clean:
	rm -rf libsimple_d2s.dylib simple_d2s.o  simple_d2s.h

dist-clean:	clean
	rm -f Makefile

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