Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TARGET = main.out
- CFLAGS = -std=c++11
- CXX = g++
- # XXX: Don't forget backslash at the end of any line except the last one
- HDRS = \
- project/include
- SRCS = \
- project/src/main.cpp \
- project/src/utils.cpp
- .PHONY: all clean
- all: $(SRCS)
- $(CXX) -Wall -Wextra -Werror $(addprefix -I,$(HDRS)) -o $(TARGET) $(CFLAGS) $(SRCS)
- clean:
- rm -rf $(TARGET)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement