#########################################################
# Makefile for GENIE Neutrino Generator
#
# Author: Costas Andreopoulos <costas.andreopoulos \at stfc.ac.uk>
# Last update: 2003-12-23
#########################################################

SHELL = /bin/sh
NAME = all
MAKEFILE = Makefile

# Include machine specific flags and locations (inc. files & libs)
#
include $(GENIE)/src/make/Make.include

doxygen: FORCE
	$(DOXYGEN) dox/genie-doxygen;

install: FORCE
	cp setup/gnuvld_dbbootstrap $(GENIE_BIN_PATH); \
	cp setup/genie-config $(GENIE_BIN_PATH); \
	cp gcint/genie $(GENIE_BIN_PATH); \
	chmod 755 $(GENIE_BIN_PATH)/gnuvld_dbbootstrap; \
	chmod 755 $(GENIE_BIN_PATH)/genie-config; \
	chmod 755 $(GENIE_BIN_PATH)/genie; 

clean: FORCE
	$(RM) $(GENIE_BIN_PATH)/gnuvld_dbbootstrap 
	$(RM) $(GENIE_BIN_PATH)/genie-config 
	$(RM) $(GENIE_BIN_PATH)/genie

distclean: FORCE
	$(RM) $(GENIE_BIN_INSTALLATION_PATH)/gnuvld_dbbootstrap 
	$(RM) $(GENIE_BIN_INSTALLATION_PATH)/genie-config 
	$(RM) $(GENIE_BIN_INSTALLATION_PATH)/genie

FORCE:

