MOD_NAME=$(NAME:.so=)
-# allow place modules in separate directory apart from ser core
+# allow placing modules in separate directory apart from ser core
COREPATH ?=../..
ALLDEP=Makefile $(COREPATH)/Makefile.sources $(COREPATH)/Makefile.rules \
- $(COREPATH)/Makefile.modules
+ $(COREPATH)/Makefile.modules $(COREPATH)/Makefile.defs
#override modules value, a module cannot have submodules
override modules=
else
# called by the main Makefile
-ALLDEP+=$(COREPATH)/Makefile $(COREPATH)/Makefile.defs
+ALLDEP+=$(COREPATH)/Makefile
endif