Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Compiler options
- CXX = g++
- CXXFLAGS = --std=c++11 -Wall -g -pthread
- # Source code files, object files and the final binary name.
- SRCS = $(wildcard *.cpp)
- OBJS = $(SRCS:.cpp=.o)
- BIN = binary
- .PHONY: file clean
- all: $(OBJS)
- $(CXX) $(CXXFLAGS) -o $(BIN) $(OBJS)
- clean:
- $(RM) $(OBJS) $(BIN)
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement