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

SCM Repository

[diderot] View of /branches/vis12/test/iso2d-polyline/Makefile.in
ViewVC logotype

View of /branches/vis12/test/iso2d-polyline/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1780 - (download) (annotate)
Sun Apr 1 13:27:13 2012 UTC (7 years, 7 months ago) by jhr
File size: 924 byte(s)
  Add make rules for building standalone executables
# Makefile for iso2d-polyline 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=ISO --debug

iso2d-polyline:	main.c iso2d-polyline.o
	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) main.c iso2d-polyline.o

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

iso2d.exe:	iso2d-polyline.diderot
	$(DIDEROTC) --exec $(DIDEROTC_FLAGS) -o iso2d.exe iso2d-polyline.diderot

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

CLEAN_SUBDIRS =

CLEAN_FILES +=		iso2d-polyline iso2d-polyline.c iso2d-polyline.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