build: add missing changes to ensure examples build with progs-suffix
authorJames Almer <jamrial@gmail.com>
Fri, 29 Sep 2017 20:42:42 +0000 (17:42 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 29 Sep 2017 20:56:36 +0000 (17:56 -0300)
doc/examples/Makefile

index 9792e1f..fe33b17 100644 (file)
@@ -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)