Created
May 15, 2019 11:30
-
-
Save whatalnk/76cb4fce29e130e161e6ae8d80a0424a to your computer and use it in GitHub Desktop.
Makefile for clang++ (AtCoder C++14 / Clang 3.8)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CXX = clang++-3.9 | |
INCDIR = -I /usr/include/c++/v1 -I /home/linuxbrew/.linuxbrew/opt/boost@1.60/include | |
CFLAGS = -O2 | |
LIBS = -L /usr/lib -L /home/linuxbrew/.linuxbrew/opt/boost@1.60/lib | |
OBJS = a.out | |
STD = c++14 | |
STDLIB = libc++ | |
WARNS = -Werror -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic | |
a.out: hello.cpp | |
$(CXX) $(INCDIR) $(LIBS) -std=$(STD) -stdlib=$(STDLIB) $(CFLAGS) $(WARNS) -o $(OBJS) $< | |
clean: | |
rm *.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WSL Ubuntu bionic