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 123 - (download) (annotate)
Mon Jun 28 18:05:04 2010 UTC (9 years, 1 month ago) by jhr
File size: 595 byte(s)
  Adding configuration support
# 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 -rf dnorm dnorm.dSYM


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