Commit Graph

39 Commits

Author SHA1 Message Date
Greg Shuflin 19d84a7c9a Slighly-broken? sneakers.c 2023-11-12 11:43:23 -08:00
Greg Shuflin ea5efdcf69 Remove input C code 2023-08-12 02:35:26 -07:00
Greg Shuflin e2d0ce2e59 Make ncurses version work 2023-07-25 23:22:00 -07:00
Greg Shuflin da8bc84c36 Remove boilierplate from deleted code 2023-07-25 23:07:52 -07:00
Greg Shuflin ec74203e70 Start porting to rust 2023-07-23 03:03:23 -07:00
Brian Barto 61f1f6cfc4 Fix ncurses implementation
modified:   Makefile
	modified:   NCURSES.md
2018-10-24 22:47:26 -04:00
Brian Barto 1440337579 Move STDIN association to termio module
modified:   Makefile
	modified:   src/nmseffect.c
	modified:   src/nmstermio.c
	modified:   src/nmstermio_ncurses.c
2018-10-24 22:20:33 -04:00
Brian Barto d921892576 Add input and error modules for getting input and reporting errors
modified:   Makefile
	new file:   src/error.c
	new file:   src/error.h
	new file:   src/input.c
	new file:   src/input.h
	modified:   src/nms.c
	modified:   src/nmseffect.c
	modified:   src/nmseffect.h
2018-10-24 21:44:48 -04:00
Gergely Budai ca408b79b8
Turn on binary optimizations. 2018-08-08 13:19:01 +02:00
Ferdinand Thiessen ca6a9c1a38 Fixed Makefile for OSX, do not use install -t. Fixed #46 2017-02-19 17:54:14 +01:00
Ferdinand Thiessen cc5d71fd22 Added manpages 2017-02-17 19:37:16 +01:00
Brian Barto 272e780adf Make module for character set to allow easy substitution with different set.
modified:   Makefile
	new file:   src/nmscharset.c
	new file:   src/nmscharset.h
	modified:   src/nmseffect.c
2017-01-19 12:08:20 -05:00
Brian Barto 8a09f36cee Rename nmsterm modules to nmstermio, and update function names to align with new module name
modified:   Makefile
	modified:   src/nmseffect.c
	deleted:    src/nmsterm.h
	renamed:    src/nmsterm.c -> src/nmstermio.c
	new file:   src/nmstermio.h
	renamed:    src/nmsterm_ncurses.c -> src/nmstermio_ncurses.c
	modified:   src/sneakers.c
2017-01-19 11:42:29 -05:00
Brian Barto 5fd104afee Change file names and update function names (to align with file name changes)
modified:   Makefile
	renamed:    src/main.c -> src/nms.c
	deleted:    src/nms.h
	renamed:    src/nms.c -> src/nmseffect.c
	new file:   src/nmseffect.h
	modified:   src/sneakers.c
2017-01-19 11:17:40 -05:00
Brian Barto b4fd33a43b Create an abstraction layer between terminal and main nms code so we can substitute ncurses functions without duplicating code.
modified:   Makefile
	deleted:    src/nms-ncurses.c
	modified:   src/nms.c
	new file:   src/nmsterm.c
	new file:   src/nmsterm.h
	new file:   src/nmsterm_ncurses.c
	modified:   src/sneakers.c
2017-01-18 18:51:10 -05:00
Brian Barto 0359617c96 Make 'all' for ncurses implementations
modified:   Makefile
2017-01-18 00:16:45 -05:00
Brian Barto cffbd272d7 Make ncurses implementation for sneakers
modified:   Makefile
	modified:   src/nms-ncurses.c
2017-01-18 00:14:21 -05:00
Brian Barto e153046219 The nms-ncurses buid should be named nms 2017-01-17 22:08:48 -05:00
Brian Barto e42155973a ncurses implementation
modified:   Makefile
	new file:   src/nms-ncurses.c
2017-01-17 22:00:24 -05:00
Brian Barto 5ffdfb5e40 Substitute the conditional checks with a 'rm -f'
modified:   Makefile
2017-01-17 19:39:16 -05:00
Brian Barto 79cfbf0b71 Dont make sneakers by default. user must specify 'make sneakers' or 'make all'
modified:   Makefile
2017-01-17 19:30:24 -05:00
Brian Barto 1c65c9a218 Renamed the files
modified:   Makefile
	modified:   README.md
	renamed:    src/nms.c -> src/main.c
	renamed:    src/libnms.c -> src/nms.c
	renamed:    src/libnms.h -> src/nms.h
	modified:   src/sneakers.c
2017-01-16 16:28:12 -05:00
Brian Barto e7ec1e9b9a Change main.c file name to nms.c
modified:   Makefile
	renamed:    src/main.c -> src/nms.c
2017-01-13 15:58:05 -05:00
Brian Barto da514019de Initial update with code from libnms
modified:   Makefile
	new file:   src/libnms.c
	new file:   src/libnms.h
	modified:   src/main.c
	modified:   src/sneakers.c
2017-01-08 17:22:03 -05:00
Zero_Chaos a5ec746492 update Makefile to support overrides
This is what I needed to do to package this app for gentoo.  Hilarious work btw, really love it. thanks.
2016-09-18 23:33:29 -04:00
Brian Barto 5aa1eb0485 Adding a condition for Darwin kernels to use ncurses instead of ncursesw.
modified:   Makefile
2016-07-09 14:06:23 -04:00
Andrew Janke 91cdae4b72 Makefile: add DESTDIR support 2016-05-20 16:13:33 -04:00
Brian Barto 9d7ac87af3 Bug fix for UTF-8 character support on ubuntu. Needed to link to the ncursesw library.
modified:   Makefile
	modified:   README.md
	modified:   src/nms.c
2016-05-12 15:06:35 -04:00
Brian Barto 3bd75128fb Updatign makefile to include arch linux support
modified:   Makefile
2016-05-06 12:17:47 -04:00
Ivan Makfinsky ba06fa3eac Changed test for OS to account for Fedora and RHEL/CentOS more accurately. Also updaated the ncurses-dev to ncusrses-devel for same. 2016-05-06 11:24:32 -04:00
Brian Barto 4c5e2c7f74 Removing unused var DESTDIR from makefile
modified:   Makefile
2016-05-04 10:23:33 -04:00
Andrew Janke 28a7137d6f build: add make install/uninstall targets 2016-05-01 15:30:50 -04:00
Maxwell Gerber b771aa9663 Modified makefile for different flavors of *nix 2016-04-28 17:36:35 -07:00
mrundle 9f82b10b5c actually require ncurses 2016-04-28 05:25:18 +00:00
mrundle 12e08849fd minor Makefile cleanup and introduced gcc warnings 2016-04-28 04:51:47 +00:00
Brian Barto 7bfe0b9ff5 Commiting an example use case that mimicks the movie scene in sneakers. 2016-04-19 18:18:02 -04:00
Brian Barto 6da3bbdce5 Restructured the application file a bit.
modified:   Makefile
	renamed:    src/nms.c -> src/main.c
	copied:     src/nms.h -> src/nms.c
	modified:   src/nms.h
2016-04-18 12:00:57 -04:00
Brian Barto 80d37d7dc4 Quick change to the makefile
modified:   Makefile
2016-04-18 11:12:56 -04:00
Brian Barto 4ecd5fcfb3 Changed up the Makefile a bit to make it simpler. Also changed it's location
and added a bin dir.

	new file:   Makefile
	renamed:    src/obj/.gitignore -> bin/.gitignore
	new file:   obj/.gitignore
	deleted:    src/Makefile
2016-04-15 14:02:09 -04:00