mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 16:38:40 +00:00
46 lines
894 B
Makefile
46 lines
894 B
Makefile
|
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 \
|
||
|
builtin/judger/judger \
|
||
|
$(EXE_CHECKER)
|
||
|
|
||
|
all: $(EXE)
|
||
|
|
||
|
% : %.cpp
|
||
|
$(CXX) $(CXXFLAGS) $< -o $@
|
||
|
|
||
|
run/run_program: include/uoj_env.h run/run_program_conf.h
|
||
|
run/formatter : include/testlib.h
|
||
|
|
||
|
builtin/judger/judger: include
|
||
|
main_judger: include
|
||
|
|
||
|
$(EXE_CHECKER): include/testlib.h
|
||
|
|
||
|
clean:
|
||
|
rm -f $(EXE)
|