diff --git a/src/finiteVolume/Make/files b/src/finiteVolume/Make/files
index b8b7e2f1d4068011822bab887aef7c3777a062ad..8f83ea99b95550838f6561e848c7319f932b31bd 100644
--- a/src/finiteVolume/Make/files
+++ b/src/finiteVolume/Make/files
@@ -364,13 +364,13 @@ $(solutionControl)/solutionControl/solutionControl.C
 $(solutionControl)/simpleControl/simpleControl.C
 $(solutionControl)/pimpleControl/pimpleControl.C
 
-porousMedia = $(general)/porousMedia
-$(porousMedia)/porosityModel/porosityModel/porosityModel.C
-$(porousMedia)/porosityModel/porosityModel/porosityModelNew.C
-$(porousMedia)/porosityModel/porosityModel/porosityModelList.C
-$(porousMedia)/porosityModel/porosityModel/IOporosityModelList.C
-$(porousMedia)/porosityModel/DarcyForchheimer/DarcyForchheimer.C
-$(porousMedia)/porosityModel/powerLaw/powerLaw.C
+porosity = $(general)/porosityModel
+$(porosity)/porosityModel/porosityModel.C
+$(porosity)/porosityModel/porosityModelNew.C
+$(porosity)/porosityModel/porosityModelList.C
+$(porosity)/porosityModel/IOporosityModelList.C
+$(porosity)/DarcyForchheimer/DarcyForchheimer.C
+$(porosity)/powerLaw/powerLaw.C
 
 MRF = $(general)/MRF
 $(MRF)/MRFZone.C