commit - 83948a69c789c232297ec76388871844c2d78d0f
commit + 8a31d9a3f861fcb52b577999131764925ebd1ebb
blob - /dev/null
blob + 0767032d0b919f03b6ff475b4e353bd34b6393da (mode 644)
--- /dev/null
+++ Makefile
+PREFIX = /usr/local
+SRC != find src -name '*.rs'
+CARGO = cargo
+
+all: bottlefuck
+
+clean:
+ rm -f bottlefuck
+ rm -rf target
+
+install: bottlefuck
+ mkdir -p ${DESTDIR}${PREFIX}/bin
+ cp -f bottlefuck ${DESTDIR}${PREFIX}/bin/
+
+bottlefuck: ${SRC}
+ ${CARGO} build --release
+ cp -f target/release/bottlefuck .