From a4dedade67c1956a145cb566c9130f9482f7db09 Mon Sep 17 00:00:00 2001 From: ​ Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: init --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4bd9def --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +BINDIR=/usr/local/bin +BIN=game + +all: + cc -O2 -Wall -pthread ${BIN}.c -o ${BIN} +install: + mkdir -p ${BINDIR} + cp ${BIN} ${BINDIR}/ +clean: + rm -f ${BIN} -- cgit 1.4.1