Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CPPFLAGS= -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -D_LINUX -lm -s -x c++ -O2 -Wall -Wno-unknown-pragmas
- #CPPFLAGS+= -std=c++11
- cpps = $(shell find -name '*.cpp')
- objs = $(patsubst %.cpp, %.o, $(cpps))
- progname= MyStrategy
- .PHONY: all clean
- all: $(progname)
- $(progname): $(objs)
- g++ $^ -o $@
- clean:
- @rm -f $(objs) $(progname)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement