#
# This file is part of Web Documentation Typesetter (WDT).
#
# WDT is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# WDT is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# For more information, see COPYING file.
#
# Copyright (C) 2005 Stanislav Yaglo
#
# Author: Stanislav Yaglo <stas@plg.lrn.ru>

SRC=    main.cpp      \
        main.h        \
		units.cpp     \
        units.h       \
        document.cpp  \
        document.h    \
        parser.cpp    \
        parser.h      \
        generator.cpp \
        generator.h   \
        preprocessor.cpp \
        preprocessor.h \
        Makefile

OBJS=   document.o  \
		units.o     \
        main.o      \
        parser.o    \
        generator.o \
        preprocessor.o

webdoc:	$(OBJS)
	g++ $(OBJS) -o webdoc
#strip webdoc

clean:
	rm $(OBJS)
	rm webdoc

dist:
	tar cfz wdt.tar.gz $(SRC)
