CODE_C_SOURCES = \
main.cpp	Grid.cpp \
hgproj.cpp \
multigrid.cpp	diffuser.cpp \
macproj.cpp

CODE_C_HEADERS = \
macproj.H	hgproj.H	Grid.H 		globals.H   \
multigrid.H	diffuser.H	

CODE_F_SOURCES =  \
cmpdt_$(DIM)d.F		\
hg_$(DIM)d.F		\
laplac_$(DIM)d.F	\
mac_$(DIM)d.F		\
prob_$(DIM)d.F 		\
scalupd_$(DIM)d.F	\
mkutrans_$(DIM)d.F	\
mkdivu_$(DIM)d.F 	\
mkflux_$(DIM)d.F	\
mkforce_$(DIM)d.F 	\
mkscalforce_$(DIM)d.F	\
setscalbc_$(DIM)d.F	\
setvelbc_$(DIM)d.F	\
slopex_$(DIM)d.F	\
slopey_$(DIM)d.F	\
velupd_$(DIM)d.F 	\
visc_$(DIM)d.F

ifeq ($(DIM),3)
CODE_F_SOURCES +=  slopez_3d.F
endif

CODE_F_HEADERS =  MACPROJ_F.H HGPROJ_F.H VISC_F.H GRID_F.H probdata.H

CEXE_sources += $(CODE_C_SOURCES)
FEXE_sources += $(CODE_F_SOURCES)

CEXE_headers += $(CODE_C_HEADERS)
FEXE_headers += $(CODE_F_HEADERS)

