Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #$@ - target name
- #$^ - dependencies names
- CXX=g++
- CXXFLAGS+=-O2 --std=c++11
- .PHONY: all clean
- all: main
- main: main.cpp group.cpp
- $(CXX) $(CXXFLAGS) -o $@ $^
- clean:
- rm -rf *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement