diff --git a/install/web/install.sh b/install/web/install.sh index c24d2d3..b8fed14 100644 --- a/install/web/install.sh +++ b/install/web/install.sh @@ -69,7 +69,7 @@ UOJEOF #define UOJ_JUDGER_PYTHON3_VERSION "3.6" #define UOJ_JUDGER_FPC_VERSION "3.0.4" UOJEOF - make -j$(($(nproc) + 1)) && cd ../../install/web + make runner -j$(($(nproc) + 1)) && cd ../../install/web } initProgress(){ diff --git a/judger/uoj_judger/Makefile b/judger/uoj_judger/Makefile index d938f0a..b69f50f 100644 --- a/judger/uoj_judger/Makefile +++ b/judger/uoj_judger/Makefile @@ -26,10 +26,11 @@ EXE = main_judger \ run/formatter \ run/run_program \ run/run_interaction \ - builtin/judger/judger \ - $(EXE_CHECKER) + builtin/judger/judger -all: $(EXE) +all: $(EXE) $(EXE_CHECKER) +runner: $(EXE) +checker: $(EXE_CHECKER) % : %.cpp $(CXX) $(CXXFLAGS) $(EXTRA_CXXFLAGS) $< -o $@ @@ -45,4 +46,4 @@ main_judger: include $(EXE_CHECKER): include/testlib.h clean: - rm -f $(EXE) + rm -f $(EXE) $(EXE_CHECKER)