Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # Compiler options
  2. CXX = g++
  3. CXXFLAGS = --std=c++11 -Wall -g -pthread
  4.  
  5. # Source code files, object files and the final binary name.
  6. SRCS = $(wildcard *.cpp)
  7. OBJS = $(SRCS:.cpp=.o)
  8. BIN = binary
  9.  
  10. .PHONY: file clean
  11.  
  12. all: $(OBJS)
  13. $(CXX) $(CXXFLAGS) -o $(BIN) $(OBJS)
  14.  
  15. clean:
  16. $(RM) $(OBJS) $(BIN)
  17. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement