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

SCM Repository

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

View of /trunk/test/MIP/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222 - (download) (annotate)
Tue Aug 3 20:25:48 2010 UTC (9 years, 1 month ago) by jhr
File size: 696 byte(s)
  Update makefile
# Makefile.in
#
# COPYRIGHT (c) 2010 The Diderot Project
# All rights reserved.
#
# test/MIP/Makefile.  Generated from Makefile.in by configure.
#

OS =		$(shell uname -s)

SHELL =		/bin/sh
CC =		gcc -std=gnu99 -std=c99

DEFINES =	-DDIDEROT -DTEEM_32BIT=1
INCLUDES =	-I/usr/local/teem/include
LDPATHS =	-L/usr/local/teem/lib -L/opt/local/lib
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