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

SCM Repository

[diderot] View of /trunk/src/clinfo/Makefile.in
ViewVC logotype

View of /trunk/src/clinfo/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1640 - (download) (annotate)
Wed Nov 16 02:19:51 2011 UTC (7 years, 9 months ago) by jhr
File size: 1200 byte(s)
  Merging in changes from pure-cfg branch.
# Makefile
#
# COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
# All rights reserved.
#
# @configure_input@
#

#
# directories for the install target
#
PREFIX =		@prefix@
INSTALL_BINDIR =	$(PREFIX)/bin
INSTALL_HEAPDIR =	$(INSTALL_BINDIR)/.heap
INSTALL_LIBDIR =	$(PREFIX)/lib
INSTALL_INCDIR =	$(PREFIX)/include

#
# directories for the local-install target
#
SRCDIR =	@DIDEROT_ROOT@/src
LIBDIR =	@DIDEROT_ROOT@/lib
BINDIR =	@DIDEROT_ROOT@/bin
HEAPDIR =	$(BINDIR)/.heap

OS =		$(shell uname -s)

SHELL =		@SHELL@
INSTALL =	@INSTALL@
CC =		@CC@ @CFLAG_M64@ -std=c99

DEFINES =	-DDIDEROT
INCLUDES =	-I@DIDEROT_SRCDIR@/include
LIBS =		@CL_LIBS@

CPPFLAGS =	$(INCLUDES) $(DEFINES)
CFLAGS =	-g -O3 -W -Wall
LDFLAGS =	$(LIBS)

TARGET =	clinfo

.PHONY:		local-install
local-install:	build
	$(INSTALL) $(TARGET) $(BINDIR)

.PHONY:		install
install:	build
	$(INSTALL) $(TARGET) $(INSTALL_BINDIR)

.PHONY:		build
build:		clinfo

clinfo:	clinfo.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o clinfo clinfo.c $(LDFLAGS)

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

CLEAN_SUBDIRS =

CLEAN_FILES +=

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