snapshot: rename 'SnapShot' -> 'Snapshot'
[c11tester.git] / Makefile
index 620a9ecd91353b6aab6484e409f6adef8fc23bc7..c11ebb45c0e261d0f693a2c95d39d0a4db905592 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)
 
 %.o: %.cc
        $(CXX) -fPIC -c $< $(CPPFLAGS)