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

SCM Repository

[diderot] View of /branches/vis15/src/tests/new-tests/vr-lite/Makefile
ViewVC logotype

View of /branches/vis15/src/tests/new-tests/vr-lite/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4099 - (download) (annotate)
Wed Jun 29 18:17:50 2016 UTC (3 years, 2 months ago) by jhr
File size: 1213 byte(s)
  adding a test for libraries
# Makefile for vr-lite-cam example
#
# This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
#
# COPYRIGHT (c) 2015 The University of Chicago
# All rights reserved.
#
# test/vr-lite-cam/Makefile.  Generated from Makefile.in by configure.
#

CC =		clang
INCLUDES =	-I/usr/local/teem/include
CPPFLAGS =	$(INCLUDES)
CFLAGS =	-m64 -g
LDFLAGS =	-L/usr/local/teem/lib -lteem 

DIDEROTC =	../../../../bin/diderotc
DIDEROTC_FLAGS = --namespace=VR --debug

TARGETS =	vr-lite-cam vr-lite-cam.exe vr-lite-cam.par

all:	$(TARGETS)

vr-lite-cam:	main.c vr-lite-cam.o
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) main.c vr-lite-cam.o

vr-lite-cam.o:	vr-lite-cam.diderot
	$(DIDEROTC) $(DIDEROTC_FLAGS) vr-lite-cam.diderot

vr-lite-cam.exe:	vr-lite-cam.diderot
	$(DIDEROTC) --exec $(DIDEROTC_FLAGS) -o vr-lite-cam.exe vr-lite-cam.diderot

vr-lite-cam.par:	vr-lite-cam.diderot
	$(DIDEROTC) --target=pthread --exec $(DIDEROTC_FLAGS) -o vr-lite-cam.par vr-lite-cam.diderot

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

CLEAN_SUBDIRS =

CLEAN_FILES +=		$(TARGETS) vr-lite-cam.c vr-lite-cam.h

DISTCLEAN_FILES +=	Makefile

DEVCLEAN_FILES =

include /Users/jhr/Work/Diderot/vis12/mk/clean-rules.gmk

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