From f269be656fd8c4423c90e9b995d2a9b30f96fff6 Mon Sep 17 00:00:00 2001 From: zvezdochiot Date: Fri, 6 Dec 2019 09:22:57 +0300 Subject: [PATCH] 0.1: Makefile --- AUTHORS | 1 + LICENSE | 30 ++++++++++++++++++++++++++++ Makefile | 22 +++++++++++++++++++++ README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 AUTHORS create mode 100644 LICENSE create mode 100644 Makefile create mode 100644 README.md diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..7a8c997 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Andrew M. Silva diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..55b6e56 --- /dev/null +++ b/LICENSE @@ -0,0 +1,30 @@ +Public Domain Mark 1.0 + No Copyright + + This work has been identified as being free of known restrictions + under copyright law, including all related and neighboring rights. + + You can copy, modify, distribute and perform the work, even for + commercial purposes, all without asking permission. See Other + Information below. + + Other Information + + The work may not be free of known copyright restrictions in all + jurisdictions. + + Persons may have other rights in or related to the work, such as + patent or trademark rights, and others may have rights in how the + work is used, such as publicity or privacy rights. + + In some jurisdictions moral rights of the author may persist beyond + the term of copyright. These rights may include the right to be + identified as the author and the right to object to derogatory + treatments. + + Unless expressly stated otherwise, the person who identified the work + makes no warranties about the work, and disclaims liability for all + uses of the work, to the fullest extent permitted by applicable law. + + When using or citing the work, you should not imply endorsement by + the author or the person who identified the work. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..87e8fe4 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +PNAME = dominoc +CC = gcc +CFLAGS = -Wall +LDFLAGS = -s +VER = 0.1 +PREFIX = /usr/local +INSTALL = install +LN = ln -fs + +.PHONY: all clean install + +all: $(PNAME) + +clean: + rm -f $(PNAME) + +$(PNAME): domino.c + $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) + +install: $(PNAME) + $(INSTALL) -d $(PREFIX)/bin + $(INSTALL) -m 0755 $(PNAME) $(PREFIX)/bin/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..e0939b4 --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +# DOMINOC + +C implementation game DOMINO. + +```sh + - - - - - - ----- ----- - - - + | | | 0 0 | |0 0 0|0 0 0| | 0 0 | + | | | 0 0 | | | | | 0 0 | + | | | 0 0 | |0 0 0|0 0 0| | 0 0 | + - - - - - - ----- ----- - - - + | 0 0 | | | | 0 | + | | | | | 0 | + | 0 0 | | | | 0 | + - - - - - - - - - + - - - - - - - - - + | 0 0 | | | | 0 | + | | | | | 0 | + | 0 0 | | | | 0 | + - - - - - - - - - + | 0 | | 0 | | | + | | | | | 0 | + | 0 | | 0 | | | + - - - - - - - - - + - - - - - - + | 0 | | 0 | + | | | | + | 0 | | 0 | + - - - ----- ----- - - - + | 0 0 | |0 0|0 0 0| | 0 0 | + | 0 | | 0 | | | 0 0 | + | 0 0 | |0 0|0 0 0| | 0 0 | + - - - ----- ----- - - - + +//-------------Suas-pecas-------------// + - - - + | | + | | + | | + - - - + | | + | 0 | + | | + - - - + 1 +//------------------------// +// Acoes possiveis // +//------------------------// +X - Encaixar peca +0 - Comprar + + Sua escolha: + +``` + +SRC: https://github.com/andrewmsilva/domino + +FORK: https://github.com/World-of-Domino/dominoc + +2019 zvezdochiot.