SCM Repository
Diff of /trunk/test/MIP/Makefile
Parent Directory
|
Revision Log
|
Patch
revision 204, Tue Aug 3 16:41:03 2010 UTC | revision 222, Tue Aug 3 20:25:48 2010 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | CC = gcc | # Makefile.in |
2 | CFLAGS = -Wall -I/usr/local/teem/include | # |
3 | # COPYRIGHT (c) 2010 The Diderot Project | |
4 | # All rights reserved. | |
5 | # | |
6 | # test/MIP/Makefile. Generated from Makefile.in by configure. | |
7 | # | |
8 | ||
9 | OS = $(shell uname -s) | |
10 | ||
11 | SHELL = /bin/sh | |
12 | CC = gcc -std=gnu99 -std=c99 | |
13 | ||
14 | DEFINES = -DDIDEROT -DTEEM_32BIT=1 | |
15 | INCLUDES = -I/usr/local/teem/include | |
16 | LDPATHS = -L/usr/local/teem/lib -L/opt/local/lib | |
17 | ifeq ($(OS),Darwin) | |
18 | LIBS = -framework OpenCL -lteem -lpng -lz | |
19 | else | |
20 | LIBS = -lteem -lpng -lz -lpthread -lm | |
21 | endif | |
22 | ||
23 | CPPFLAGS = $(INCLUDES) $(DEFINES) | |
24 | CFLAGS = -g -O3 -W -Wall | |
25 | LDFLAGS = $(LDPATHS) $(LIBS) | |
26 | ||
27 | PROG = mip | PROG = mip |
28 | SRCS = mip_opencl.c | SRCS = mip_opencl.c |
LIBS = -framework OpenCL -L/usr/local/teem/lib -lteem -lm | ||
29 | ||
30 | all: $(PROG) | all: $(PROG) |
31 | ||
32 | $(PROG): $(SRCS) | $(PROG): $(SRCS) |
33 | $(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(LIBS) | $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) |
34 | ||
35 | clean: | clean: |
36 | rm -f $(PROG) | rm -f $(PROG) |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |