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

SCM Repository

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

Diff of /branches/pure-cfg/src/lib/build/mk/build_gmk.in

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

revision 1273, Mon Jun 6 10:46:20 2011 UTC revision 1274, Mon Jun 6 11:14:17 2011 UTC
# Line 41  Line 41 
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.1273  
changed lines
  Added in v.1274

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