Skip to content

Commit

Permalink
0.1: Clean and Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zvezdochiot committed Dec 6, 2019
1 parent 009ee59 commit 1a3313d
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 18 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Giovanni Oliveira <[email protected]>
1 change: 0 additions & 1 deletion Documentos/.~lock.Pseudocódigo.odt#

This file was deleted.

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.
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
PNAME = dominogame
CC = gcc
CFLAGS = -Wall
LDFLAGS = -s
VER = 0.1
SRCS = src
PREFIX = /usr/local
INSTALL = install
LN = ln -fs

.PHONY: all clean install

all: $(PNAME)

clean:
rm -f $(PNAME)

$(PNAME): $(SRCS)/domino.h $(SRCS)/main.c $(SRCS)/domino.c
$(CC) $(CFLAGS) $(SRCS)/main.c -g -L $(SRCS)/domino.c -o $@ $(LDFLAGS)

install: $(PNAME)
$(INSTALL) -d $(PREFIX)/bin
$(INSTALL) -m 0755 $(PNAME) $(PREFIX)/bin/
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# DominoGame

Simple dominoes game implementation in c.

```sh
Rodada 15:
Mesa:
[3|5] [5|4] [4|4] [4|6] [6|5] [5|5] [5|1] [1|3] [3|4] [4|1] [1|1] [1|0] [0|6] [6|3] [3|3]
Sua mão:
[2|2]
[Comprar]
```

SRC: https://github.com/giovannioliveira/DominoGame

FORK: https://github.com/World-of-Domino/dominogame

2019 zvezdochiot.
13 changes: 0 additions & 13 deletions build.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions input

This file was deleted.

Binary file removed main
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1a3313d

Please sign in to comment.