SCM Repository
Annotation of /trunk/test/MIP/Makefile
Parent Directory
|
Revision Log
Revision 222 - (view) (download)
1 : | jhr | 222 | # Makefile.in |
2 : | # | ||
3 : | # COPYRIGHT (c) 2010 The Diderot Project | ||
4 : | # All rights reserved. | ||
5 : | # | ||
6 : | # test/MIP/Makefile. Generated from Makefile.in by configure. | ||
7 : | # | ||
8 : | lamonts | 177 | |
9 : | jhr | 222 | 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 | ||
28 : | SRCS = mip_opencl.c | ||
29 : | |||
30 : | lamonts | 177 | all: $(PROG) |
31 : | |||
32 : | $(PROG): $(SRCS) | ||
33 : | jhr | 222 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS) |
34 : | lamonts | 177 | |
35 : | clean: | ||
36 : | rm -f $(PROG) |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |