CXX = g++
CXXFLAGS = -O2
LDLIBS = -lm
SRCS = bitmap.cc mgrtobdf.cc
OBJS = bitmap.o mgrtobdf.o
all: mgrtobdf

mgrtobdf: $(OBJS)
	$(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) $(LDLIBS) -o mgrtobdf

clean:
	$(RM) $(OBJS) mgrtobdf *~ core

bitmap.o: bitmap.hh bitmap.cc
mgrtobdf.o: mgrtobdf.cc bitmap.hh
