
CPPFILES	= main.cpp FontBitmap.cpp PokemonFont.cpp DividedHangul.cpp Bitmap2Color.cpp MergedBinary.cpp
HPPFILES	= FontBitmap.hpp PokemonFont.hpp DividedHangul.hpp Bitmap2Color.hpp MergedBinary.hpp

OBJS		= $(CPPFILES:.cpp=.o)

TARGET		= fontconv.exe

.PHONY:		all

all:		depend $(TARGET)

depend:		$(CPPFILES) $(HPPFILES)
	g++ -MM $(CPPFILES) > depend

$(TARGET):	$(OBJS)
	g++ -o $@ $(OBJS)

.cpp.o:
	g++ -c $<

-include depend
