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.
 
 
 
 
 
 

21 lines
611 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) -c bits/stdc++.h
$(CXX) $(CXXFLAGS) -c ext/pb_ds/assoc_container.hpp
.PHONY: header
noheader:
[ ! -f bits/stdc++.h.gch ] || rm -rf bits/stdc++.h.gch
[ ! -f ext/pb_ds/assoc_container.hpp.gch ] || rm -rf ext/pb_ds/assoc_container.hpp.gch
.PHONY: noheader
clean: noheader
[ ! -f *.in ] || rm *.in
[ ! -f *.out ] || rm *.out
[ ! -f *.res ] || rm *.res
[ ! -f Main ] || rm Main
.PHONY: clean