summaryrefslogtreecommitdiff
path: root/Make.Rules
diff options
context:
space:
mode:
Diffstat (limited to 'Make.Rules')
-rw-r--r--Make.Rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Make.Rules b/Make.Rules
index 858f182..0fcd8ad 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -65,6 +65,8 @@ LDFLAGS += -L$(topdir)/libcap
CFLAGS += -Dlinux $(WARNINGS) $(DEBUG) $(IPATH)
PAM_CAP := $(shell if [ -f /usr/include/security/pam_modules.h ]; then echo yes ; else echo no ; fi)
INDENT := $(shell if [ -z "$(which ident 2>/dev/null)" ]; then echo "| indent -kr" ; fi)
+DYNAMIC := $(shell if [ ! -d "$(topdir)/.git" ]; then echo yes; fi)
+
# Global cleanup stuff
LOCALCLEAN=rm -f *~ core