#
# 
#
# Copyright (C) 1997-2002 by Dimitri van Heesch.
# 
# Permission to use, copy, modify, and distribute this software and its
# documentation under the terms of the GNU General Public License is hereby 
# granted. No representations are made about the suitability of this software 
# for any purpose. It is provided "as is" without express or implied warranty.
# See the GNU General Public License for more details.
# 

all: config.h config.l Makefile.doxywizard  
	$(MAKE) -f Makefile.doxywizard $@

config.h:
	$(CP) ../../src/config.h config.h

config.l:
	$(CP) ../../src/config.l config.l

Makefile.doxywizard: doxywizard.pro 
	$(ENV) $(PERL) $(TMAKE) doxywizard.pro >Makefile.doxywizard

tmake: 
	$(ENV) $(PERL) $(TMAKE) doxywizard.pro >Makefile.doxywizard

clean: Makefile.doxywizard 
	$(MAKE) -f Makefile.doxywizard clean 
	$(RM) config.cpp

distclean: clean
	$(RM) Makefile.doxywizard config.l config.h

install:
	$(INSTTOOL) -d $(INSTALL)/bin	
	$(INSTTOOL) -m 755 ../../bin/doxywizard $(INSTALL)/bin	

FORCE: