# Copyright (C) 2005 Zbynek Winkler, zw at robotika cz
# Licensed to the public under the terms of the GNU GPL 2

OBJS := mcl.o
LIBS := m
CXXFLAGS := -g -Wall

check: mcl
	./mcl && touch check

mcl : mcl.o
	$(CXX) $(LDFLAGS) $(filter %.o,$^) $(LIBS:%=-l%) -o $@

$(OBJS) : Makefile

.PHONY: clean dep

clean :
	rm -rf mcl $(OBJS) check mcl.log

dep :
	makedepend -Y -- $(CPPFLAGS) -- $(OBJS:.o=.cpp) 2>/dev/null


# DO NOT DELETE

mcl.o: frame.h point.h cmp.h frame-io.h rnd.h
