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

SCM Repository

[diderot] Diff of /trunk/src/clinfo/Makefile.in
ViewVC logotype

Diff of /trunk/src/clinfo/Makefile.in

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

revision 1670, Sun Dec 4 10:45:43 2011 UTC revision 1671, Sun Dec 4 10:56:10 2011 UTC
# Line 1  Line 1 
1  # Makefile  # Makefile
2  #  #
3  # COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)  # COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
4  # All rights reserved.  # All rights reserved.
5  #  #
6  # @configure_input@  # @configure_input@
# Line 21  Line 21 
21  SRCDIR =        @DIDEROT_ROOT@/src  SRCDIR =        @DIDEROT_ROOT@/src
22  LIBDIR =        @DIDEROT_ROOT@/lib  LIBDIR =        @DIDEROT_ROOT@/lib
23  BINDIR =        @DIDEROT_ROOT@/bin  BINDIR =        @DIDEROT_ROOT@/bin
24  HEAPDIR =       $(BINDIR)/.heap  
25    CL_TARGET_DIR = $(SRCDIR)/lib/cl-target
26    
27  OS =            $(shell uname -s)  OS =            $(shell uname -s)
28    
29  SHELL =         @SHELL@  SHELL =         @SHELL@
30  INSTALL =       @INSTALL@  INSTALL =       @INSTALL@
31  CC =            @CC@ @CFLAG_M64@ -std=c99  CC =            @CC@ @CFLAG_M64@
32    
33  DEFINES =       -DDIDEROT  DEFINES =       -DDIDEROT_TARGET_CL -DDIDEROT_SINGLE_PRECISION
34  INCLUDES =      -I@DIDEROT_SRCDIR@/include  INCLUDES =      -I$(SRCDIR)/include -I$(CL_TARGET_DIR)
35  LIBS =          @CL_LIBS@  LIBS =          @CL_LIBS@
36    
37  CPPFLAGS =      $(INCLUDES) $(DEFINES)  CPPFLAGS =      @CPPFLAGS@ $(INCLUDES) $(DEFINES)
38  CFLAGS =        -g -O3 -W -Wall  CFLAGS =        @CFLAGS@ @CFLAG_M64@
39  LDFLAGS =       $(LIBS)  LDFLAGS =       $(LIBS)
40    
41  TARGET =        clinfo  TARGET =        clinfo
# Line 50  Line 51 
51  .PHONY:         build  .PHONY:         build
52  build:          clinfo  build:          clinfo
53    
54  clinfo: clinfo.c  clinfo:         main.o clinfo.o
55          $(CC) $(CPPFLAGS) $(CFLAGS) -o clinfo clinfo.c $(LDFLAGS)          $(CC) -o clinfo main.o clinfo.o $(LDFLAGS)
56    
57    main.o:         main.c $(CL_TARGET_DIR)/clinfo.h
58            $(CC) -c $(CPPFLAGS) $(CFLAGS) main.c
59    
60    clinfo.o:       $(CL_TARGET_DIR)/clinfo.c $(CL_TARGET_DIR)/clinfo.h
61            $(CC) -c -o clinfo.o $(CPPFLAGS) $(CFLAGS) $(CL_TARGET_DIR)/clinfo.c
62    
63  #################### Cleanup ####################  #################### Cleanup ####################
64    

Legend:
Removed from v.1670  
changed lines
  Added in v.1671

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