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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log 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 :     # @configure_input@
7 :     #
8 : jhr 204
9 : jhr 222 OS = $(shell uname -s)
10 :    
11 :     SHELL = @SHELL@
12 :     CC = @CC@ -std=c99
13 :    
14 :     DEFINES = -DDIDEROT -DTEEM_32BIT=1
15 :     INCLUDES = -I@TEEM_DIR@/include
16 :     LDPATHS = -L@TEEM_DIR@/lib @LDPATHS@
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 : jhr 204 all: $(PROG)
31 :    
32 :     $(PROG): $(SRCS)
33 : jhr 222 $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(SRCS)
34 : jhr 204
35 :     clean:
36 :     rm -f $(PROG)

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