aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles')
-rw-r--r--Source/Particles/Make.package6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Particles/Make.package b/Source/Particles/Make.package
index 3bd4829a0..7ec1eb73a 100644
--- a/Source/Particles/Make.package
+++ b/Source/Particles/Make.package
@@ -1,5 +1,7 @@
-F90EXE_sources += interpolate_cic.F90
-F90EXE_sources += push_particles_ES.F90
+ifeq ($(DO_ELECTROSTATIC),TRUE)
+ F90EXE_sources += interpolate_cic.F90
+ F90EXE_sources += push_particles_ES.F90
+endif
CEXE_sources += MultiParticleContainer.cpp
CEXE_sources += WarpXParticleContainer.cpp