aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-02-13 13:57:27 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-02-13 13:57:27 +0100
commit84ac5f52efc9bc13fd1d3bd18991b1667aaf0413 (patch)
tree3256a711dbb8690cda8ce670196ecaa7eb689a52
parent97c9dba402d6d4097cbdc4c44c00222c53122033 (diff)
downloadnissy-84ac5f52efc9bc13fd1d3bd18991b1667aaf0413.tar.gz
nissy-84ac5f52efc9bc13fd1d3bd18991b1667aaf0413.zip
Small makefile changes, fixed todo list
-rw-r--r--Makefile16
-rw-r--r--TODO.md5
-rw-r--r--doc/nissy.html18
-rw-r--r--doc/nissy.pdfbin33153 -> 33152 bytes
-rwxr-xr-xnissybin322488 -> 0 bytes
-rwxr-xr-xnissy.exebin788662 -> 0 bytes
6 files changed, 16 insertions, 23 deletions
diff --git a/Makefile b/Makefile
index 7ffd642..a167d5a 100644
--- a/Makefile
+++ b/Makefile
@@ -14,26 +14,21 @@ DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \
14CC = cc 14CC = cc
15 15
16 16
17all: options nissy 17all: nissy
18
19options:
20 @echo nissy build options:
21 @echo "CFLAGS = ${CFLAGS}"
22 @echo "CC = ${CC}"
23 18
24nissy: 19nissy:
25 ${CC} ${CFLAGS} -o nissy src/*.c 20 ${CC} ${CFLAGS} -o nissy src/*.c
26 21
27win: 22nissy.exe:
28 x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c 23 x86_64-w64-mingw32-gcc ${CFLAGS} -static -o nissy.exe src/*.c
29 24
30debug: 25debug:
31 ${CC} ${DBGFLAGS} -o nissy src/*.c 26 ${CC} ${DBGFLAGS} -o nissy src/*.c
32 27
33clean: 28clean:
34 rm -rf nissy nissy-*.tar.gz 29 rm -rf nissy nissy*.exe nissy*.tar.gz
35 30
36dist: clean 31dist: clean nissy.exe
37 mkdir -p nissy-${VERSION} 32 mkdir -p nissy-${VERSION}
38 cp -R LICENSE Makefile INSTALL doc src nissy-${VERSION} 33 cp -R LICENSE Makefile INSTALL doc src nissy-${VERSION}
39 groff -Tpdf -mandoc doc/nissy.1 > doc/nissy.pdf 34 groff -Tpdf -mandoc doc/nissy.1 > doc/nissy.pdf
@@ -43,6 +38,7 @@ dist: clean
43 tar -cf nissy-${VERSION}.tar nissy-${VERSION} 38 tar -cf nissy-${VERSION}.tar nissy-${VERSION}
44 gzip nissy-${VERSION}.tar 39 gzip nissy-${VERSION}.tar
45 rm -rf nissy-${VERSION} 40 rm -rf nissy-${VERSION}
41 mv nissy.exe nissy-${VERSION}.exe
46 42
47install: nissy 43install: nissy
48 mkdir -p ${DESTDIR}${PREFIX}/bin 44 mkdir -p ${DESTDIR}${PREFIX}/bin
@@ -57,5 +53,5 @@ uninstall:
57 rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1 53 rm -rf ${DESTDIR}${PREFIX}/bin/nissy ${DESTDIR}${MANPREFIX}/man1/nissy.1
58 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done 54 for s in ${SCRIPTS}; do rm -rf ${DESTDIR}${PREFIX}/bin/$$s; done
59 55
60.PHONY: all options win debug clean dist install uninstall 56.PHONY: all debug clean dist install uninstall
61 57
diff --git a/TODO.md b/TODO.md
index b321a92..f043841 100644
--- a/TODO.md
+++ b/TODO.md
@@ -4,9 +4,6 @@ This is a list of things that I would like to add or change at some point.
4It's more of a personal reminder than anything else. 4It's more of a personal reminder than anything else.
5 5
6## For version 2.1 6## For version 2.1
7### Bugs
8* when reading scramble, unmatched ( does not produce any error, unmatched )
9produces TWO errors but it goes on anyway
10### Scrambles 7### Scrambles
11* Better two-phase solver, make sure to not have cancelling moves 8* Better two-phase solver, make sure to not have cancelling moves
12 (possibly use cleanup function) 9 (possibly use cleanup function)
@@ -23,6 +20,8 @@ produces TWO errors but it goes on anyway
23### More 20### More
24* Anything quick and easy from the sections below 21* Anything quick and easy from the sections below
25* fix LICENSE file 22* fix LICENSE file
23* Download page at nissy.tronto.net, upload every dist version there
24 (and then always run make clean before git push)
26 25
27## Commands 26## Commands
28 27
diff --git a/doc/nissy.html b/doc/nissy.html
index e51aa07..ed73e37 100644
--- a/doc/nissy.html
+++ b/doc/nissy.html
@@ -1,5 +1,5 @@
1<!-- Creator : groff version 1.22.4 --> 1<!-- Creator : groff version 1.22.4 -->
2<!-- CreationDate: Wed Dec 29 17:47:39 2021 --> 2<!-- CreationDate: Sun Feb 13 13:56:11 2022 -->
3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4"http://www.w3.org/TR/html4/loose.dtd"> 4"http://www.w3.org/TR/html4/loose.dtd">
5<html> 5<html>
@@ -29,10 +29,9 @@ Rubik&rsquo;s cube solver and FMC assistant</p>
29 29
30<p style="margin-top: 1em"><b>SYNOPSIS</b></p> 30<p style="margin-top: 1em"><b>SYNOPSIS</b></p>
31 31
32<p style="margin-left:6%;">[<b>&minus;b</b>]</p> 32<p style="margin-left:14%;"><b>nissy</b> [<b>&minus;b</b>]
33 33<b><br>
34<p style="margin-left:14%;"><b>nissy</b> <i>command</i> 34nissy</b> <i>command</i> [options...]</p>
35[options...]</p>
36 35
37<p style="margin-top: 1em"><b>DESCRIPTION</b></p> 36<p style="margin-top: 1em"><b>DESCRIPTION</b></p>
38 37
@@ -181,11 +180,10 @@ solutions that require the minimum number of moves.</p>
181 180
182<p style="margin-left:27%; margin-top: 1em">Only find 181<p style="margin-left:27%; margin-top: 1em">Only find
183solutions that require at most <i>N</i> moves more than the 182solutions that require at most <i>N</i> moves more than the
184optimal solution. If <i>N</i> is 0, this is equivalent 183optimal solution. If <i>N</i> is 0, this is equivalent to
185to</p> 184<b>&minus;o</b></p>
186 185
187<p style="margin-top: 1em"><b>&minus;o <br> 186<p style="margin-top: 1em"><b>&minus;p</b></p>
188&minus;p</b></p>
189 187
190<p style="margin-left:27%; margin-top: 1em">Plain style: do 188<p style="margin-left:27%; margin-top: 1em">Plain style: do
191not print the number of moves.</p> 189not print the number of moves.</p>
@@ -310,7 +308,7 @@ D' F R' D B L2 B R2 L U L U2 B D' U R U F2 (18)</p>
310<b>https://github.com/sebastianotronto/nissy</b></p> 308<b>https://github.com/sebastianotronto/nissy</b></p>
311 309
312<p style="margin-left:6%; margin-top: 1em">BSD 310<p style="margin-left:6%; margin-top: 1em">BSD
313December&nbsp;29, 2021 BSD</p> 311February&nbsp;13, 2022 BSD</p>
314<hr> 312<hr>
315</body> 313</body>
316</html> 314</html>
diff --git a/doc/nissy.pdf b/doc/nissy.pdf
index fa71758..be8433e 100644
--- a/doc/nissy.pdf
+++ b/doc/nissy.pdf
Binary files differ
diff --git a/nissy b/nissy
deleted file mode 100755
index c70e746..0000000
--- a/nissy
+++ /dev/null
Binary files differ
diff --git a/nissy.exe b/nissy.exe
deleted file mode 100755
index 74d0607..0000000
--- a/nissy.exe
+++ /dev/null
Binary files differ

Generated with cgit - Back to sebastiano.tronto.net