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

SCM Repository

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

View of /branches/fem/examples/simple/simple_sd3/Makefile

Parent Directory Parent Directory | Revision Log Revision Log

Revision 3228 - (download) (annotate)
Wed Jul 29 19:57:25 2015 UTC (4 years, 1 month ago) by cchiw
File size: 1064 byte(s)
added examples to fem
# Makefile for simpled2 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/
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=simpled2 --target=pthread

UTIL_SRCS =		../../util/util.c

libsimpled2.dylib:		main.c simpled2.o $(UTIL_SRCS)
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c simpled2.o /Users/chariseechiw/firedrake/vedat/locate.o /Users/chariseechiw/firedrake/vedat/evaluate.o $(UTIL_SRCS) $(LDFLAGS)

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

	rm -rf libsimpled2.dylib simpled2.o  simpled2.h

dist-clean:	clean
	rm -f Makefile

ViewVC Help
Powered by ViewVC 1.0.0