aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTill Hoeppner2014-10-21 15:33:17 +0200
committerTill Hoeppner2014-10-21 16:15:10 +0200
commitfc27f8cee888acf70683badca9edadb45544822c (patch)
treef39314f857e92a1e5a19f9675205750adf8919f0 /Makefile
parentce640c2c25b0e16c567553c5774d633c13cbf0ee (diff)
downloadirsc-fc27f8cee888acf70683badca9edadb45544822c.tar.gz
irsc-fc27f8cee888acf70683badca9edadb45544822c.tar.xz
irsc-fc27f8cee888acf70683badca9edadb45544822c.zip
Initial commit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile33
1 files changed, 0 insertions, 33 deletions
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