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 b62e72a9de19225ab7bcc57a9da8cd8d6465a4b5..72b2f5266fdfc05d8f0ded9bf328b392f43503cd 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)