From a11fe305a03ad8eee80e476230b200cac11f59e3 Mon Sep 17 00:00:00 2001 From: weiyu Date: Mon, 24 Jun 2019 12:42:46 -0700 Subject: [PATCH] add a separate rule for futex.o --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b62e72a9..72b2f526 100644 --- 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) -- 2.34.1