diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d998d08 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +CPPFLAGS:= -static -fno-optimize-sibling-calls -fno-strict-aliasing -DONLINE_JUDGE -D_LINUX -lm -s -x c++ -O2 -Wall -Wno-unknown-pragmas +cpps:=$(shell find -name '*.cpp') +objs:=$(patsubst %.cpp, %.o, $(cpps)) +progname:=MyStrategy + +.PHONY: all clean +all: $(progname) + +$(progname): $(objs) + g++ $^ -o $@ +