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

SCM Repository

[diderot] View of /trunk/test/MIP/Makefile.in
ViewVC logotype

View of /trunk/test/MIP/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222 - (download) (annotate)
Tue Aug 3 20:25:48 2010 UTC (9 years ago) by jhr
File size: 626 byte(s)
  Update makefile
# Makefile.in
#
# COPYRIGHT (c) 2010 The Diderot Project
# 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 = -framework OpenCL -lteem -lpng -lz
else
  LIBS = -lteem -lpng -lz -lpthread -lm
endif

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

PROG =		mip  
SRCS =		mip_opencl.c

all: $(PROG)

$(PROG):	$(SRCS)
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS)

clean:
	rm -f $(PROG)

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