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

revision 1232, Mon May 16 23:37:52 2011 UTC revision 1301, Thu Jun 9 23:58:40 2011 UTC
# Line 36  Line 36 
36  LDFLAGS =  LDFLAGS =
37  CPPFLAGS =      @CPPFLAGS@ $(INCLUDES)  CPPFLAGS =      @CPPFLAGS@ $(INCLUDES)
38    
39  COMMON_SRCS =   image.c input.c  COMMON_SRCS =   image.c input.c util.c
40    
41  SRCS            = $(COMMON_SRCS) $(TARGET_SRCS)  SRCS            = $(COMMON_SRCS) $(TARGET_SRCS)
42  OBJS            = $(patsubst %.c,%.o,$(SRCS))  OBJS            = $(patsubst %.c,%.o,$(SRCS))
43    
44    #
45    # determine target platform
46    #
47    ifeq (c,$(TARGET_PLATFORM))
48      CPPFLAGS += -DDIDEROT_TARGET_C
49    else ifeq (cl,$(TARGET_PLATFORM))
50      CPPFLAGS += -DDIDEROT_TARGET_CL
51    else ifeq (cuda,$(TARGET_PLATFORM))
52      CPPFLAGS += -DDIDEROT_TARGET_CUDA
53    else ifeq (parallel,$(TARGET_PLATFORM))
54      CPPFLAGS += -DDIDEROT_TARGET_PARALLEL
55    endif
56    
57  ifeq ($(ENABLE_DEBUG),true)  ifeq ($(ENABLE_DEBUG),true)
58    CFLAGS += -g3 -O0    CFLAGS += -g3 -O0
59  else  else

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

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