Forráskód Böngészése

Makefile: give warning when old modules directory is found

Mikko Lehto 6 éve
szülő
commit
d72c3f2c96
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -10,6 +10,9 @@ KSR_DIR ?= src/
 # default target for makefile
 .DEFAULT_GOAL := default
 
+ifneq ($(wildcard modules),)
+$(warning "old Kamailio modules directory found, you should clean that")
+endif
 
 # strip the src/ from the path to modules
 SMODPARAM=