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

SCM Repository

[diderot] View of /branches/vis12/test/vr-lite-cam/Makefile.in
ViewVC logotype

View of /branches/vis12/test/vr-lite-cam/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1780 - (download) (annotate)
Sun Apr 1 13:27:13 2012 UTC (7 years, 3 months ago) by jhr
File size: 899 byte(s)
  Add make rules for building standalone executables
# Makefile for vr-lite-cam example
#
# COPYRIGHT (c) 2012 The Diderot Project
# All rights reserved.
#
# @configure_input@
#

CC =		@CC@
INCLUDES =	-I@DIDEROT_SRCDIR@/include -I@TEEM_DIR@/include
CPPFLAGS =	@CPPFLAGS@ $(INCLUDES)
CFLAGS =	@CFLAGS@ @CFLAG_M64@ -g
LDFLAGS =	-L@TEEM_DIR@/lib -lteem @LIBM@

DIDEROTC =	@DIDEROT_BINDIR@/diderotc
DIDEROTC_FLAGS = --namespace=VR --debug

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

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

CLEAN_SUBDIRS =

CLEAN_FILES +=		vr-lite-cam vr-lite-cam.c vr-lite-cam.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