Source directory creating script for competitive programmers who are using c++ and neovim
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

15 行
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