# Multi-purpose C++ class library
# libapolloron
# Tachibanamasashi, Apolloron Project

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

CFLAGS            += -I.
OBJS              = table_iso8859_unicode.o table_sjis_unicode.o \
                    table_euckr_unicode.o table_gbk_unicode.o \
                    table_big5_unicode.o table_unicode_eucjp.o \
                    table_unicode_euckr.o table_unicode_gbk.o \
                    table_unicode_big5.o table_charwidth.o

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

all: $(OBJS)

table_iso8859_unicode.o: table_iso8859_unicode.cc table_iso8859_unicode.h
table_sjis_unicode.o: table_sjis_unicode.cc table_sjis_unicode.h
table_euckr_unicode.o: table_euckr_unicode.cc table_euckr_unicode.h
table_gbk_unicode.o: table_gbk_unicode.cc table_gbk_unicode.h
table_big5_unicode.o: table_big5_unicode.cc table_big5_unicode.h
table_unicode_eucjp.o: table_unicode_eucjp.cc table_unicode_eucjp.h
table_unicode_euckr.o: table_unicode_euckr.cc table_unicode_euckr.h
table_unicode_gbk.o: table_unicode_gbk.cc table_unicode_gbk.h
table_unicode_big5.o: table_unicode_big5.cc table_unicode_big5.h
table_charwidth.o: table_charwidth.cc table_charwidth.h

clean:
	$(RM) $(OBJS)
