Skip to content

Commit eaad74d

Browse files
authored
Add "make all" target for better user experience in Eclipse for migration samples. (oneapi-src#269)
* Add "make all" target for better user experience when attempting to build from within Eclipse. * Add "make all" target for better user experience when attempting to build from within Eclipse. * Add "make all" target for better user experience when attempting to build from within Eclipse.
1 parent 08fede5 commit eaad74d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Tools/Migration/folder-options-dpct/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ CPPFLAGS += $(INC_FLAGS)
1515
%.o: %.cu
1616
$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< -o $@
1717

18+
all: $(TARGET)
19+
1820
$(TARGET): $(OBJS)
1921
$(CXX) $(LDFLAGS) $(OBJS) -o $@ $(LOADLIBES) $(LDLIBS)
2022

Tools/Migration/rodinia-nw-dpct/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ DEPS = src/needle_kernel.cu src/needle.h
77
%.o: %.cu
88
$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< -o $@
99

10+
all: $(TARGET)
11+
1012
$(TARGET): $(SRCS) $(DEPS)
1113
$(CXX) $(SRCS) -o $@
1214

Tools/Migration/vector-add-dpct/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ SRCS = src/vector_add.cu
66
%.o: %.cu
77
$(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $< -o $@
88

9+
all: $(TARGET)
10+
911
$(TARGET): $(SRCS) $(DEPS)
1012
$(CXX) $(SRCS) -o $@
1113

0 commit comments

Comments
 (0)