diff --git a/doc/examples/Makefile b/doc/examples/Makefile index 9792e1f911..fe33b1768a 100644 --- a/doc/examples/Makefile +++ b/doc/examples/Makefile @@ -33,10 +33,10 @@ $(DOC_EXAMPLES): %$(PROGSSUF)$(EXESUF): %.o examples: $(DOC_EXAMPLES) -$(DOC_EXAMPLES:%$(EXESUF)=%.o): | doc/examples +$(DOC_EXAMPLES:%$(PROGSSUF)$(EXESUF)=%.o): | doc/examples OBJDIRS += doc/examples -DOXY_INPUT += $(DOC_EXAMPLES:%$(EXESUF)=%.c) +DOXY_INPUT += $(DOC_EXAMPLES:%$(PROGSSUF)$(EXESUF)=%.c) examplesclean: $(RM) $(ALL_DOC_EXAMPLES) $(ALL_DOC_EXAMPLES_G)