# Makefile.inc must define integer type INTS and INTL by defining 
# INTSIZE64 (INTL 64 bits, INTS 32 bits), INTSSIZE64 (All 64 bits), 
# INTSIZE32 (All 32 bits) or none (all int), these defines have to be 
# stored into CFLAGS environnement variable
#
# Makefile.inc also defines FLOAT and REAL types by defining
# PREC_SIMPLE or PREC_DOUBLE for simple or double precision
# TYPE_REAL or TYPE_COMPLEX for real or complex (only for FLOAT), 
# these defines have to be stored into CFLAGS environnement variable
#
# Makefile.inc must define : 
#   MAKE     - Makefile application
#   CC       - C compiler
#   CFLAGS   - C compilation flags
#   FC       - Fortran compiler
#   FFLAGS   - Fortran compilation flag
#   LDFLAGS  - Linking flags
#   LDSOLVER - Solver linking path

include Makefile.inc

CFLAGS := $(CFLAGS) -I./include/

example	: Makefile.inc
	(cd examples && $(MAKE))

fortran	: 
	./scripts/genfort.pl include/murge.h > include/murge.inc

bin	:
	mkdir bin

clean   : 
	(cd examples && make clean)
