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

SCM Repository

[diderot] View of /examples/iso2d-spatial/Makefile.in
ViewVC logotype

View of /examples/iso2d-spatial/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (download) (annotate)
Tue Oct 27 15:16:36 2015 UTC (3 years, 6 months ago) by jhr
File size: 1068 byte(s)
making copyrights consistent for all code in the repository
# Makefile for iso2d particle interaction demo
#
# 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@
CPPFLAGS =	-I../util @CPPFLAGS@ @TEEM_CPPFLAGS@  @GLFW_CFLAGS@
CFLAGS =	@CFLAGS@ -O3
LDFLAGS =	@LDPATHS@ @TEEM_LDFLAGS@ @ATB_LDFLAGS@ @GLFW_LIBS@ -framework CoreVideo  -framework Cocoa -framework OpenGL -framework IOKit -L/opt/local/lib/ 

DIDEROTC =		@DIDEROTC@
DIDEROTC_FLAGS  = --snapshot --namespace=ISO  --disable-high-vn --disable-mid-vn --disable-low-vn --target=c
UTIL_SRCS =		./utils/circle.c ./utils/utils.c 
UTIL_HEADERS =  ./utils/circle.h ./utils/linmath.h ./utils/utils.h ./utils/vertex.h

iso2d:		main.c iso2d.o view.o $(UTIL_SRCS) $(UTIL_HEADERS)
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) main.c iso2d.o view.o $(UTIL_SRCS) $(LDFLAGS)

view.o: view.c view.h 
	$(CC) -c $(CPPFLAGS) $(LDFLAGS) view.c

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

clean:
	rm -rf iso2d iso2d.o iso2d.c iso2d.h view.o

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