Skip to content

Update Makefile to link with CXX #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
WARNINGS = -Werror -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter

LINK.o = $(LINK.cc)

# gcc flags used for both debug and opt builds
BASE_CXX_FLAGS := -MD $(CXXFLAGS) $(WARNINGS) -std=c++11

Expand All @@ -8,9 +10,6 @@ CXXFLAGS = -g $(BASE_CXX_FLAGS)
# Optimization flags
#CXXFLAGS = -g -O3 -DNDEBUG $(BASE_CXX_FLAGS)

# Link with the C++ standard library
LDFLAGS=-lstdc++

BINARIES = btree_test randomgenerator_test tpccclient_test tpcctables_test tpccgenerator_test tpcc

all: $(BINARIES)
Expand Down