langcmp/rust/Makefile

14 lines
160 B
Makefile

RUSTC := rustc
SRC = sleeptest.rs
OUT = sleeptest
.PHONY: clean
all: $(OUT)
$(OUT): $(SRC)
$(RUSTC) -C strip=symbols -o $(OUT) $(SRC)
clean:
rm -f $(OUT)