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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 221, Tue Aug 3 20:13:55 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@TEEM_DIR@/include  #
3    # COPYRIGHT (c) 2010 The Diderot Project
4    # All rights reserved.
5    #
6    # @configure_input@
7    #
8    
9    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  PROG = mip
28  SRCS = mip_opencl.c  SRCS = mip_opencl.c
 LIBS = -framework OpenCL -L@TEEM_DIR@/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)

Legend:
Removed from v.221  
changed lines
  Added in v.222

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