Added C:\MINGW\MSYS\1.0\bin to PATH when building expat.
Some systems have it installed there (such as SWING Jenkins servers)
TOP=../../../..
CC=gcc
CPP=g++
CFLAGS=$(OPT)
CPPGLAGS=$(CFLAGS)
INCLUDE=-I$(TOP)/include
XERCESC4STX_OBJS=\
StxCPPUtils.o \
StxXercesInputStream.o \
StxXercesInputSource.o \
StxXercesHandler.o \
StxXercesUtils.o \
default: all
all: support
support: $(XERCESC4STX_OBJS)
# $(CPP) -c -o support.o $^
StxCPPUtils.o: StxCPPUtils.c StxCPPUtils.c
$(CC) $(CFLAGS) $(INCLUDE) -c $<
%.o: %.cpp %.hpp
$(CPP) $(CFLAGS) $(INCLUDE) -c $<
clean:
rm -f *~ *.o