#GNU Makefile to build nubeam_driver 
#
#03/18/10 C. Ludescher-Furth
#


libs:
	$(MAKE) -f Make2 libs

all:  libs exec 
	@echo done 
exec:
	$(MAKE) -f Make2 exec
ifdef MPI_ENABLE
	$(MAKE) -f Make2 MPI_ACTIVATE=1 exec
endif

clean:
	$(MAKE) -f Make2 clean
ifdef MPI_ENABLE
	$(MAKE) -f Make2 MPI_ACTIVATE=1 clean
endif

realclean:
	$(MAKE) -f Make2 realclean
ifdef MPI_ENABLE
	$(MAKE) -f Make2 MPI_ACTIVATE=1 realclean
endif

install:
	$(MAKE) -f Make2 install
ifdef MPI_ENABLE
	$(MAKE) -f Make2 MPI_ACTIVATE=1 install
endif

uninstall:
	$(MAKE) -f Make2 uninstall
ifdef MPI_ENABLE
	$(MAKE) -f Make2 MPI_ACTIVATE=1 uninstall
endif

