Source directory creating script for competitive programmers who are using c++ and neovim
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.
 
 

15 lines
258 B

  1. CXX = g++
  2. CXXFLAGS = -g -Wall -std=c++14
  3. all: $(patsubst %.cpp, %.out, $(wildcard *.cpp))
  4. %.out: %.cpp Makefile
  5. $(CXX) $(CXXFLAGS) $< -o $@
  6. cpstd:
  7. mkdir bits
  8. cp /usr/include/c++/*/*/bits/stdc++.h bits
  9. $(CXX) $(CXXFLAGS) bits/stdc++.h
  10. clean:
  11. rm *.out