--- a/exodus/cbind/src/Imakefile
+++ b/exodus/cbind/src/Imakefile
@@ -36,6 +36,10 @@
 INCLUDES = IncRef-I../include
 REQUIREDLIBS = -L$(SHLIBDIR) $(NETCDF)
 
+#if !UseNetcdf4
+NET_DEF = -DNOT_NETCDF4
+#endif
+
 #ifndef BuildSharedExodusLibrary
 #define BuildSharedExodusLibrary NO
 #endif  
@@ -46,9 +50,9 @@
 SOREV = 5
 #define SoRev SOREV
 
-DEFINES = $(PICFLAGS)
-
-SRCS = 	ex_close.c \
+DEFINES = $(PICFLAGS) $(NET_DEF)
+
+SRCS =	ex_close.c \
 	ex_conv.c \
 	ex_copy.c \
 	ex_create.c \
@@ -273,6 +277,7 @@
 
 LibraryTargetSubdirsCopy(libexodus.a,$(OBJS),../../) 
 
+
 $(OBJS): ../include/exodusII.h ../include/exodusII_int.h
 
 DependTarget()