xmlreaderimpl/support/Makefile
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 25 Jan 2016 16:35:43 +0000
changeset 298 9696f76605bd
parent 296 ea3dbc023c80
permissions -rw-r--r--
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