Skip to content

Commit

Permalink
Clean up Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Dec 1, 2023
1 parent a9a3458 commit 2084324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ ALL_DEPS := $(patsubst %.o,%.d,$(OBJ_S2PSERVICE_CORE) $(OBJ_S2PCTL_CORE) $(OBJ_S
$(OBJ_CONTROLLERS) $(OBJ_DEVICES) $(OBJ_S2P_TEST) $(OBJ_IN_PROCESS_TEST))
-include $(ALL_DEPS)

$(OBJ_GENERATED): $(SRC_GENERATED)
$(OBJ_GENERATED): $(SRC_GENERATED) $(OBJDIR)
$(LIB_SHARED): $(OBJ_SHARED)
$(LIB_SHARED_PROTOBUF): $(OBJ_GENERATED) $(OBJ_SHARED_PROTOBUF) $(OBJ_SHARED)
$(LIB_SHARED_COMMAND): $(OBJ_SHARED_COMMAND) $(OBJ_GENERATED) $(OBJ_SHARED_PROTOBUF) $(OBJ_SHARED)
Expand All @@ -272,7 +272,7 @@ $(LIB_SHARED) $(LIB_SHARED_PROTOBUF) $(LIB_SHARED_COMMAND) $(LIB_BUS) $(LIB_CONT
$(OBJDIR)/%.o: %.cpp | $(OBJDIR)
$(CXX) $(CXXFLAGS) -c $< -o $@

$(OBJ_GENERATED): | $(OBJDIR)
$(OBJ_GENERATED):
$(CXX) $(CXXFLAGS) -c $< -o $@

$(SRC_GENERATED):
Expand Down

0 comments on commit 2084324

Please sign in to comment.