diff options
Diffstat (limited to '.Makefile.inc')
-rw-r--r-- | .Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 00cb9c2ec..99cf6f6e2 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -90,8 +90,8 @@ allreal: $(HEADER) alldep @$(MAKEENV) $(MAKE) -C src -f ../make/$(MAKESTYLE)-real.mk all module: - @cd src; ../make/calcdep.pl modules/$(MODNAME).cpp - @$(MAKEENV) $(MAKE) -C src -f modules/.$(MODNAME).d modules/$(MODNAME).so + cd src; if [ -d modules/$(MODNAME) ]; then ../make/calcdep.pl modules/$(MODNAME) modules/$(MODNAME)/*.cpp; else ../make/calcdep.pl modules/$(MODNAME).cpp; fi + $(MAKEENV) $(MAKE) -C src -f ../make/$(MAKESTYLE)-real.mk modules/$(MODNAME).so debug: @${MAKE} D=1 all |