arabica/examples/SAX2DOM/Makefile

39 lines
913 B
Makefile
Raw Normal View History

2002-06-21 13:16:28 +02:00
2003-09-10 10:48:31 +02:00
-include ../../Makefile.header
2002-06-21 13:16:28 +02:00
2003-09-10 10:48:31 +02:00
######################################
# ADDITIONAL BUILD FLAGS
INCS_DIRS += -I../..
LIBS_DIRS += -L../../bin
2002-06-21 13:16:28 +02:00
2003-09-10 10:48:31 +02:00
STATIC_LIBS +=
DYNAMIC_LIBS += -lArabica
2002-06-21 13:16:28 +02:00
2003-09-10 10:48:31 +02:00
######################################
# SOURCE FILES
DOMWRITER_SRCS = DOMWriter.cpp
DOMWRITER_HDRS = $(patsubst %.c,%.h,$(patsubst %.cpp,%.h,$(DOMWRITER_SRCS)))
DOMWRITER_OBJS = $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(DOMWRITER_SRCS)))
2003-09-10 10:48:31 +02:00
######################################
2002-06-21 13:16:28 +02:00
# High level rules
2005-11-28 13:39:13 +01:00
all : domwriter$(EXESUFFIX)
2002-06-21 13:16:28 +02:00
2005-11-28 13:39:13 +01:00
domwriter$(EXESUFFIX) : $(DOMWRITER_OBJS)
2003-09-10 15:34:10 +02:00
$(LD) $(LDFLAGS) -o $@ $(DOMWRITER_OBJS) $(LIBS_DIRS) $(STATIC_LIBS) $(DYNAMIC_LIBS)
$(COPY) domwriter$(EXESUFFIX) ../../bin
2002-06-21 13:16:28 +02:00
2003-09-10 10:48:31 +02:00
######################
2002-06-21 13:16:28 +02:00
# Compile rules
2003-09-10 10:48:31 +02:00
####
2003-09-10 15:34:10 +02:00
-include ../../Makefile.rules
2002-06-21 13:16:28 +02:00
2003-09-10 10:48:31 +02:00
######################
2002-06-21 13:16:28 +02:00
# Cleaning up
clean :
$(REMOVE) $(DOMWRITER_OBJS) \
2003-09-10 15:34:10 +02:00
domwriter$(EXESUFFIX) \
2005-11-28 13:39:13 +01:00
../../bin/domwriter$(EXESUFFIX)
2002-06-21 13:16:28 +02:00
# End of File