Statistics
| Branch: | Revision:

napa-baselibs / ALTOclient / Makefile @ 5f3adef4

History | View | Annotate | Download (341 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
# libcurl is now obsolete
9
#LDLIBS += -lcurl
10

    
11
all: main lib
12

    
13
lib: ALTOclient.o
14
		@$(AR) r libALTO.a ALTOclient.o
15

    
16
main: ALTOclient.o
17

    
18
clean:
19
		rm -f *.o
20
		rm -f *.a
21
		rm -f main
22

    
23
distclean: clean