Merge branch 'master' of /home/git/model-checker
[model-checker.git] / Makefile
index 620a9ecd91353b6aab6484e409f6adef8fc23bc7..3a3d826107da6fe2c64082d60bd385afb7492d71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ include $(DEPS)
 debug: CPPFLAGS += -DCONFIG_DEBUG
 debug: all
 
+PHONY += docs
 docs: *.c *.cc *.h
        doxygen
 
@@ -38,7 +39,7 @@ $(LIB_SO): $(OBJECTS)
        $(CXX) $(SHARED) -o $(LIB_SO) $(OBJECTS) $(LDFLAGS)
 
 malloc.o: malloc.c
-       $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES $(CPPFLAGS)
+       $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES -DHAVE_MMAP=0 $(CPPFLAGS) -Wno-unused-variable
 
 %.o: %.cc
        $(CXX) -fPIC -c $< $(CPPFLAGS)