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

SCM Repository

[diderot] Annotation of /branches/pure-cfg/test/MIP/Makefile.in
ViewVC logotype

Annotation of /branches/pure-cfg/test/MIP/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (view) (download)

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

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