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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 121 - (download) (annotate)
Thu Jun 24 22:40:12 2010 UTC (9 years, 2 months ago) by jhr
File size: 582 byte(s)
  Adding makefile for dnorm program
# Makefile
#
# COPYRIGHT (c) 2010 The Diderot Project (http://diderot.cs.uchicago.edu)
# All rights reserved.
#
# @configure_input@
#

OS =		$(shell uname -s)

SHELL =		@SHELL@
CC =		@CC@ -std=c99

DEFINES =	-DDIDEROT -DTEEM_32BIT=1
INCLUDES =	-I@TEEM_DIR@/include
LDPATHS =	-L@TEEM_DIR@/lib @LDPATHS@
ifeq ($(OS),Darwin)
  LIBS = -lteem -lpng -lz
else
  LIBS = -lteem -lpng -lz -lpthread -lm
endif

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

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

clean:
	rm -f dnorm

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