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

SCM Repository

[diderot] Diff of /branches/lamont/src/lib/build/mk/build_gmk.in
ViewVC logotype

Diff of /branches/lamont/src/lib/build/mk/build_gmk.in

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

trunk/src/lib/build/mk/build_gmk.in revision 1301, Thu Jun 9 23:58:40 2011 UTC branches/vis12/src/lib/build/mk/build_gmk.in revision 1733, Tue Mar 13 14:09:15 2012 UTC
# Line 36  Line 36 
36  LDFLAGS =  LDFLAGS =
37  CPPFLAGS =      @CPPFLAGS@ $(INCLUDES)  CPPFLAGS =      @CPPFLAGS@ $(INCLUDES)
38    
39  COMMON_SRCS =   image.c input.c util.c  COMMON_SRCS =   image.c input.c eigen2x2.c eigen3x3.c dyn-seq.c
40    
41  SRCS            = $(COMMON_SRCS) $(TARGET_SRCS)  SRCS            = $(COMMON_SRCS) $(TARGET_SRCS)
42  OBJS            = $(patsubst %.c,%.o,$(SRCS))  OBJS            = $(patsubst %.c,%.o,$(SRCS))
# Line 54  Line 54 
54    CPPFLAGS += -DDIDEROT_TARGET_PARALLEL    CPPFLAGS += -DDIDEROT_TARGET_PARALLEL
55  endif  endif
56    
57    #
58    # set debug flags, if needed
59    #
60  ifeq ($(ENABLE_DEBUG),true)  ifeq ($(ENABLE_DEBUG),true)
61    CFLAGS += -g3 -O0    CFLAGS += -g3 -O0
62  else  else
63    CPPFLAGS += -DNDEBUG    CPPFLAGS += -DNDEBUG
64    CFLASG += -O3    CFLAGS += -O3
65  endif  endif
66    
67    #
68    # set numeric precision
69    #
70  ifeq ($(PRECISION),float)  ifeq ($(PRECISION),float)
71    CPPFLAGS += -DDIDEROT_SINGLE_PRECISION    CPPFLAGS += -DDIDEROT_SINGLE_PRECISION
72  else  else
73    CPPFLAGS += -DDIDEROT_DOUBLE_PRECISION    CPPFLAGS += -DDIDEROT_DOUBLE_PRECISION
74  endif  endif
75    CPPFLAGS += -DDIDEROT_INT
76    
77  ifeq ($(ENABLE_PARALLEL),true)  ifeq ($(ENABLE_PARALLEL),true)
78    CFLAGS += @PTHREAD_CFLAGS@    CFLAGS += @PTHREAD_CFLAGS@

Legend:
Removed from v.1301  
changed lines
  Added in v.1733

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