Skip to content

Commit

Permalink
Cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jun 20, 2019
1 parent 6b369ec commit 929a7d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tensorflow/lite/experimental/c/c_api_types.h
10 changes: 3 additions & 7 deletions tensorflow/lite/tools/make/Makefile
Expand Up @@ -125,9 +125,9 @@ $(wildcard tensorflow/lite/kernels/*.c) \
$(wildcard tensorflow/lite/kernels/internal/*.c) \
$(wildcard tensorflow/lite/kernels/internal/optimized/*.c) \
$(wildcard tensorflow/lite/kernels/internal/reference/*.c) \
$(wildcard tensorflow/lite/tools/make/downloads/flatbuffers/src/util.cpp) \
$(wildcard tensorflow/lite/tools/make/downloads/farmhash/src/farmhash.cc) \
$(wildcard tensorflow/lite/tools/make/downloads/fft2d/fftsg.c)
$(wildcard tensorflow/lite/tools/make/downloads/fft2d/fftsg.c) \
$(wildcard tensorflow/lite/tools/make/downloads/flatbuffers/src/util.cpp)
endif
# Remove any duplicates.
CORE_CC_ALL_SRCS := $(sort $(CORE_CC_ALL_SRCS))
Expand Down Expand Up @@ -239,11 +239,7 @@ BENCHMARK_OBJS := $(addprefix $(OBJDIR), \
$(patsubst %.cpp,%.o,$(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(BENCHMARK_SRCS)))))

# For normal manually-created TensorFlow Lite C++ source files.
$(OBJDIR)%.o: %.cpp
@mkdir -p $(dir $@)
$(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
# For normal manually-created TensorFlow Lite C++ source files.
$(OBJDIR)%.o: %.cc
$(OBJDIR)%.o: %.cc %.cpp
@mkdir -p $(dir $@)
$(CXX) $(CXXFLAGS) $(INCLUDES) -c $< -o $@
# For normal manually-created TensorFlow Lite C source files.
Expand Down

0 comments on commit 929a7d0

Please sign in to comment.