Statistics
| Branch: | Revision:

napa-baselibs / ALTOclient / Makefile @ 2d0a8d58

History | View | Annotate | Download (354 Bytes)

1
XMLSRC ?= $(LIBXML2_DIR)/include/libxml2
2
XMLLIB ?= $(LIBXML2_DIR)/lib
3

    
4
CPPFLAGS += -I$(XMLSRC)
5
LDFLAGS += -L$(XMLLIB)
6
LDLIBS += -lxml2 -lpthread
7

    
8
ifdef CURL
9
LDLIBS += -lcurl
10
CPPFLAGS += -DUSE_CURL
11
endif
12

    
13
all: main lib
14

    
15
lib: ALTOclient.o
16
		@$(AR) r libALTO.a ALTOclient.o
17

    
18
main: ALTOclient.o
19

    
20
clean:
21
		rm -f *.o
22
		rm -f *.a
23
		rm -f main
24

    
25
distclean: clean