From fc27f8cee888acf70683badca9edadb45544822c Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Tue, 21 Oct 2014 15:33:17 +0200 Subject: Initial commit. --- Makefile | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile deleted file mode 100644 index 58dec28..0000000 --- a/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -RUSTC ?= rustc -RUSTC_FLAGS ?= -NAME ?= irsc - -SRC = $(shell find src -name '*.rs') - -all: $(NAME) - -$(NAME): $(SRC) - mkdir -p target - $(RUSTC) --out-dir target $(RUSTC_FLAGS) src/$(NAME).rs - -opt: RUSTC_FLAGS += --opt-level=3 -Z lto -opt: $(NAME) - -small: opt - upx -9 ./target/$(NAME) - -debug: RUSTC_FLAGS += -g -debug: $(NAME) - -run: $(NAME) - ./target/$(NAME) - -test: $(SRC) - mkdir -p target - $(RUSTC) --test --out-dir target src/$(NAME).rs - ./target/$(NAME) - -clean: - @rm -rf target - -.PHONY: clean -- cgit v1.2.3