2016-07-18 16:39:37 +00:00
|
|
|
INCLUDE_PATH = include
|
|
|
|
CXXFLAGS = -I./include -O2
|
|
|
|
|
|
|
|
EXE_CHECKER = \
|
|
|
|
builtin/checker/bcmp \
|
|
|
|
builtin/checker/acmp \
|
|
|
|
builtin/checker/caseicmp \
|
|
|
|
builtin/checker/casencmp \
|
|
|
|
builtin/checker/casewcmp \
|
|
|
|
builtin/checker/dcmp \
|
|
|
|
builtin/checker/fcmp \
|
|
|
|
builtin/checker/hcmp \
|
|
|
|
builtin/checker/icmp \
|
|
|
|
builtin/checker/lcmp \
|
|
|
|
builtin/checker/ncmp \
|
|
|
|
builtin/checker/rcmp \
|
|
|
|
builtin/checker/rcmp4 \
|
|
|
|
builtin/checker/rcmp6 \
|
|
|
|
builtin/checker/rcmp9 \
|
|
|
|
builtin/checker/rncmp \
|
|
|
|
builtin/checker/uncmp \
|
|
|
|
builtin/checker/wcmp \
|
|
|
|
builtin/checker/yesno
|
|
|
|
|
|
|
|
EXE = main_judger \
|
|
|
|
run/formatter \
|
|
|
|
run/run_program \
|
2018-07-09 02:40:30 +00:00
|
|
|
run/run_interaction \
|
2019-07-16 10:28:00 +00:00
|
|
|
builtin/judger/judger
|
2016-07-18 16:39:37 +00:00
|
|
|
|
2019-07-16 10:28:00 +00:00
|
|
|
all: $(EXE) $(EXE_CHECKER)
|
|
|
|
runner: $(EXE)
|
|
|
|
checker: $(EXE_CHECKER)
|
2016-07-18 16:39:37 +00:00
|
|
|
|
|
|
|
% : %.cpp
|
2018-07-09 02:40:30 +00:00
|
|
|
$(CXX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $< -o $@
|
2016-07-18 16:39:37 +00:00
|
|
|
|
|
|
|
run/run_program: include/uoj_env.h run/run_program_conf.h
|
|
|
|
run/formatter : include/testlib.h
|
2018-07-09 02:40:30 +00:00
|
|
|
run/run_interaction: run/run_interaction.cpp include/uoj_env.h
|
|
|
|
$(CXX) $(CXXFLAGS) --std=c++11 -pthread $< -o $@
|
2016-07-18 16:39:37 +00:00
|
|
|
|
|
|
|
builtin/judger/judger: include
|
|
|
|
main_judger: include
|
|
|
|
|
|
|
|
$(EXE_CHECKER): include/testlib.h
|
|
|
|
|
|
|
|
clean:
|
2019-07-16 10:28:00 +00:00
|
|
|
rm -f $(EXE) $(EXE_CHECKER)
|