Skip to content

Commit

Permalink
Added additional level of indirection (suggested by Andreas Stenius
Browse files Browse the repository at this point in the history
  • Loading branch information
basvodde committed Aug 11, 2012
1 parent 40d62a2 commit bc1e428
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/MakefileWorker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,10 @@ flags:
@echo "Create libraries with ARFLAGS:"
@$(call debug_print_list,$(ARFLAGS))

$(TEST_TARGET): $(TEST_OBJS) $(MOCKS_OBJS) $(PRODUCTION_CODE_START) $(TARGET_LIB) $(USER_LIBS) $(PRODUCTION_CODE_END) $(CPPUTEST_LIB) $(STDLIB_CODE_START)
TEST_DEPS = $(TEST_OBJS) $(MOCKS_OBJS) $(PRODUCTION_CODE_START) $(TARGET_LIB) $(USER_LIBS) $(PRODUCTION_CODE_END) $(CPPUTEST_LIB) $(STDLIB_CODE_START)
test-deps: $(TEST_DEPS)

$(TEST_TARGET): $(TEST_DEPS)
@echo Linking $@
$(LINK.o) -o $@ $^ $(LD_LIBRARIES)

Expand Down

0 comments on commit bc1e428

Please sign in to comment.