diff --git a/examples/SAX/Makefile b/examples/SAX/Makefile index 7051f0eb..153d9eed 100644 --- a/examples/SAX/Makefile +++ b/examples/SAX/Makefile @@ -29,21 +29,21 @@ XMLBASE_OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(XMLBASE_SRCS))) ###################################### # High level rules -all : pyx simple_handler writer xmlbase +all : pyx$(EXESUFFIX) simple_handler$(EXESUFFIX) writer$(EXESUFFIX) xmlbase$(EXESUFFIX) -pyx$ : $(PYX_OBJS) +pyx$(EXESUFFIX) : $(PYX_OBJS) $(LD) $(LDFLAGS) -o $@ $(PYX_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) pyx$(EXESUFFIX) ../../bin -simple_handler : $(SIMPLE_OBJS) +simple_handler$(EXESUFFIX) : $(SIMPLE_OBJS) $(LD) $(LDFLAGS) -o $@ $(SIMPLE_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) simple_handler$(EXESUFFIX) ../../bin -writer : $(WRITER_OBJS) +writer$(EXESUFFIX) : $(WRITER_OBJS) $(LD) $(LDFLAGS) -o $@ $(WRITER_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) writer$(EXESUFFIX) ../../bin -xmlbase : $(XMLBASE_OBJS) +xmlbase$(EXESUFFIX) : $(XMLBASE_OBJS) $(LD) $(LDFLAGS) -o $@ $(XMLBASE_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) xmlbase$(EXESUFFIX) ../../bin diff --git a/examples/SAX2DOM/Makefile b/examples/SAX2DOM/Makefile index 763d13c1..3efb3059 100644 --- a/examples/SAX2DOM/Makefile +++ b/examples/SAX2DOM/Makefile @@ -17,9 +17,9 @@ DOMWRITER_OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(DOMWRITER_SRCS))) ###################################### # High level rules -all : domwriter +all : domwriter$(EXESUFFIX) -domwriter : $(DOMWRITER_OBJS) +domwriter$(EXESUFFIX) : $(DOMWRITER_OBJS) $(LD) $(LDFLAGS) -o $@ $(DOMWRITER_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) domwriter$(EXESUFFIX) ../../bin @@ -33,6 +33,6 @@ domwriter : $(DOMWRITER_OBJS) clean : $(REMOVE) $(DOMWRITER_OBJS) \ domwriter$(EXESUFFIX) \ - ../../bin/domwriter + ../../bin/domwriter$(EXESUFFIX) # End of File diff --git a/examples/Utils/Makefile b/examples/Utils/Makefile index 1dddb9d1..5c5c7df0 100644 --- a/examples/Utils/Makefile +++ b/examples/Utils/Makefile @@ -17,9 +17,9 @@ TRANSCODE_OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(TRANSCODE_SRCS))) ###################################### # High level rules -all : transcode +all : transcode$(EXESUFFIX) -transcode : $(TRANSCODE_OBJS) +transcode$(EXESUFFIX) : $(TRANSCODE_OBJS) $(LD) $(LDFLAGS) -o $@ $(TRANSCODE_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) transcode$(EXESUFFIX) ../../bin diff --git a/examples/XPath/Makefile b/examples/XPath/Makefile index 134aafea..a397916e 100644 --- a/examples/XPath/Makefile +++ b/examples/XPath/Makefile @@ -17,9 +17,9 @@ XGREP_OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(XGREP_SRCS))) ###################################### # High level rules -all : xgrep +all : xgrep$(EXESUFFIX) -xgrep : $(XGREP_OBJS) +xgrep$(EXESUFFIX) : $(XGREP_OBJS) $(LD) $(LDFLAGS) -o $@ $(XGREP_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS) $(COPY) xgrep$(EXESUFFIX) ../../bin @@ -33,6 +33,6 @@ xgrep : $(XGREP_OBJS) clean : $(REMOVE) $(XGREP_OBJS) \ xgrep$(EXESUFFIX) \ - ../../bin/xgrep + ../../bin/xgrep$(EXESUFFIX) # End of File