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 1311 - (view) (download)

1 : jhr 222 # Makefile.in
2 :     #
3 : jhr 1311 # COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4 : jhr 222 # All rights reserved.
5 :     #
6 :     # @configure_input@
7 :     #
8 : jhr 204
9 : jhr 222 OS = $(shell uname -s)
10 :    
11 :     SHELL = @SHELL@
12 : jhr 1116 CC = @CC@
13 :     CFLAGS = @CFLAGS@
14 : jhr 222
15 :     DEFINES = -DDIDEROT -DTEEM_32BIT=1
16 :     INCLUDES = -I@TEEM_DIR@/include
17 :     LDPATHS = -L@TEEM_DIR@/lib @LDPATHS@
18 :     ifeq ($(OS),Darwin)
19 :     LIBS = -framework OpenCL -lteem -lpng -lz
20 :     else
21 :     LIBS = -lteem -lpng -lz -lpthread -lm
22 :     endif
23 :    
24 :     CPPFLAGS = $(INCLUDES) $(DEFINES)
25 :     CFLAGS = -g -O3 -W -Wall
26 :     LDFLAGS = $(LDPATHS) $(LIBS)
27 :    
28 : jhr 1311 TARGET = mip
29 : jhr 222 SRCS = mip_opencl.c
30 :    
31 : jhr 1311 all: $(TARGET)
32 : jhr 204
33 : jhr 1311 $(TARGET): $(SRCS)
34 :     $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(TARGET) $(SRCS)
35 : jhr 204
36 : jhr 1311 #################### Cleanup ####################
37 :    
38 :     include @DIDEROT_MKDIR@/clean-rules.gmk

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