# Multi-purpose C++ class library
# libapolloron
# Masashi Astro Tachibana, Apolloron Project

CONFIG_FILE = ../../config
include $(CONFIG_FILE)

CFLAGS            += -I. -I../../include
OBJS              = json_object.o json_tokener.o arraylist.o \
                    linkhash.o printbuf.o

.cc.o:
	$(CXX) $(CFLAGS) -c $<

all: $(OBJS)

json_object.o: json_object.cc json_object.h
json_tokener.o: json_tokener.cc json_tokener.h bits.h
arraylist.o: arraylist.cc arraylist.h bits.h
linkhash.o: linkhash.cc linkhash.h
printbuf.o: printbuf.cc printbuf.h bits.h

clean:
	$(RM) $(OBJS)
