2005-10-17 23:24:43 +02:00
|
|
|
-include ../../Makefile.header
|
2005-11-25 16:53:28 +01:00
|
|
|
-include ../../Makefile.common
|
2005-10-17 23:24:43 +02:00
|
|
|
|
|
|
|
######################################
|
|
|
|
# ADDITIONAL BUILD FLAGS
|
|
|
|
INCS_DIRS += -I../..
|
|
|
|
LIBS_DIRS += -L../../bin
|
|
|
|
|
|
|
|
STATIC_LIBS +=
|
|
|
|
DYNAMIC_LIBS += -lArabica
|
|
|
|
|
|
|
|
######################################
|
|
|
|
# SOURCE FILES
|
2005-11-25 16:53:28 +01:00
|
|
|
XPATH_SRCS = main.cpp
|
2005-10-17 23:24:43 +02:00
|
|
|
XPATH_HDRS = $(patsubst %.cpp,%.h,$(XPATH_SRCS))
|
|
|
|
XPATH_OBJS = $(patsubst %.cpp,%.o,$(XPATH_SRCS))
|
|
|
|
|
|
|
|
######################################
|
|
|
|
# High level rules
|
2005-11-25 16:53:28 +01:00
|
|
|
all : xpath_test_wide$(EXESUFFIX)
|
2005-10-17 23:24:43 +02:00
|
|
|
|
2005-11-25 16:53:28 +01:00
|
|
|
xpath_test_wide$(EXESUFFIX) : $(XPATH_OBJS) $(CPPUNIT_OBJS)
|
|
|
|
$(LD) $(LDFLAGS) -o $@ $(XPATH_OBJS) $(CPPUNIT_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS)
|
|
|
|
$(COPY) xpath_test_wide$(EXESUFFIX) ../../bin
|
2005-10-17 23:24:43 +02:00
|
|
|
|
|
|
|
######################
|
|
|
|
# Compile rules
|
|
|
|
####
|
|
|
|
-include ../../Makefile.rules
|
|
|
|
|
|
|
|
######################
|
|
|
|
# Cleaning up
|
|
|
|
clean :
|
2005-11-25 16:53:28 +01:00
|
|
|
$(REMOVE) $(CPPUNIT_OBJS) \
|
2005-10-17 23:24:43 +02:00
|
|
|
$(XPATH_OBJS) \
|
2005-11-25 16:53:28 +01:00
|
|
|
xpath_test_wide$(EXESUFFIX) \
|
|
|
|
../../bin/xpath_test_wide$(EXESUFFIX)
|
2005-10-17 23:24:43 +02:00
|
|
|
|
|
|
|
# End of File
|