Skip to content

Commit

Permalink
0.1: Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Dec 6, 2019
1 parent a5b8ac2 commit f269be6
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Andrew M. Silva <[email protected]>
30 changes: 30 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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/
59 changes: 59 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit f269be6

Please sign in to comment.