add a separate rule for futex.o
authorweiyu <weiyuluo1232@gmail.com>
Mon, 24 Jun 2019 19:42:46 +0000 (12:42 -0700)
committerweiyu <weiyuluo1232@gmail.com>
Mon, 24 Jun 2019 19:42:46 +0000 (12:42 -0700)
Makefile

index b62e72a..72b2f52 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,8 @@ README.html: README.md
 malloc.o: malloc.c
        $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES -DHAVE_MMAP=0 $(CPPFLAGS) -Wno-unused-variable
 
+futex.o: futex.cc
+       $(CXX) -fPIC -c futex.cc -std=c++11 $(CPPFLAGS)
 
 %.o : %.cc
        $(CXX) -MMD -MF .$@.d -fPIC -c $< $(CPPFLAGS)