competitive programming scripts on Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
497 B

CXX=g++
CXXFLAGS=-std=c++11 -Wall -Wextra -pedantic -fsanitize=address -fsanitize=undefined -D_GLIBCXX_DEBUG -D DEBUG
FFLAGS=-std=c++11 -O2 -Wall -Wextra # for fast flags
PROG=PROB_NAME
header:
$(CXX) $(CXXFLAGS) bits/stdc++.h
$(CXX) $(CXXFLAGS) ext/pb_ds/assoc_container.hpp
.PHONY: header
fast:
$(CXX) $(FFLAGS) -o Main Main.cpp
.PHONY:fast
noheader:
rm -rf bits/stdc++.h.gch
rm -rf ext/pb_ds/assoc_container.hpp.gch
.PHONY: noheader
clean: noheader
rm *.in *.out *.res
.PHONY: clean