Skip to content

Commit

Permalink
Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikmsu committed Sep 14, 2014
1 parent efa7fea commit ce5f602
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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 $@

0 comments on commit ce5f602

Please sign in to comment.