8 lines
345 B
Plaintext
8 lines
345 B
Plaintext
|
include ${TEMPLATE}/rust.mk ${TEMPLATE}/Judger.mk
|
||
|
|
||
|
compile:
|
||
|
@$(RUSTC) $(RUSTFLAGS) -o $(PREFIX)/user/$(USER_PROG).out $(PREFIX)/user/$(USER_PROG).$(LANG)
|
||
|
|
||
|
judge:
|
||
|
$($(CMP)) $(PREFIX)/problem/data/input/$(TEST_NUM).input $(PREFIX)/user/$(TEST_NUM).out.usr $(PREFIX)/problem/data/output/$(TEST_NUM).output $(PREFIX)/user/$(TEST_NUM).judge -appes
|