From 55bfff7cf6541caac172b43186cf14405185b14d Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sat, 13 Apr 2019 12:40:52 -0400 Subject: fix curses on linux --- .../calculator/CEdev/examples/template/makefile | 30 +++++------ .../calculator/CEdev/examples/template/readme.md | 28 +++++----- .../calculator/CEdev/examples/template/src/main.c | 60 +++++++++++----------- 3 files changed, 59 insertions(+), 59 deletions(-) (limited to 'frontends/calculator/CEdev/examples/template') diff --git a/frontends/calculator/CEdev/examples/template/makefile b/frontends/calculator/CEdev/examples/template/makefile index 1f1b36b..d3deba8 100644 --- a/frontends/calculator/CEdev/examples/template/makefile +++ b/frontends/calculator/CEdev/examples/template/makefile @@ -1,15 +1,15 @@ -# ---------------------------- -# Set NAME to the program name -# Set ICON to the png icon file name -# Set DESCRIPTION to display within a compatible shell -# Set COMPRESSED to "YES" to create a compressed program -# ---------------------------- - -NAME ?= DEMO -COMPRESSED ?= NO -ICON ?= iconc.png -DESCRIPTION ?= "C SDK Demo" - -# ---------------------------- - -include $(CEDEV)/include/.makefile +# ---------------------------- +# Set NAME to the program name +# Set ICON to the png icon file name +# Set DESCRIPTION to display within a compatible shell +# Set COMPRESSED to "YES" to create a compressed program +# ---------------------------- + +NAME ?= DEMO +COMPRESSED ?= NO +ICON ?= iconc.png +DESCRIPTION ?= "C SDK Demo" + +# ---------------------------- + +include $(CEDEV)/include/.makefile diff --git a/frontends/calculator/CEdev/examples/template/readme.md b/frontends/calculator/CEdev/examples/template/readme.md index 093834f..0335c19 100644 --- a/frontends/calculator/CEdev/examples/template/readme.md +++ b/frontends/calculator/CEdev/examples/template/readme.md @@ -1,14 +1,14 @@ -### Template - -You can clone this directory for your own projects. - -To add code, fill in the void main() function in main.c. You can also create -your own .c and .h files and add them to the directory; the Makefile included in -this template will automatically find and compile the new .c files. - -In addition, you can also add your own .asm files, which will be detected and -added appropriately to the proper segment. - ---- - -This template is a part of the C SDK Toolchain for use on the CE. +### Template + +You can clone this directory for your own projects. + +To add code, fill in the void main() function in main.c. You can also create +your own .c and .h files and add them to the directory; the Makefile included in +this template will automatically find and compile the new .c files. + +In addition, you can also add your own .asm files, which will be detected and +added appropriately to the proper segment. + +--- + +This template is a part of the C SDK Toolchain for use on the CE. diff --git a/frontends/calculator/CEdev/examples/template/src/main.c b/frontends/calculator/CEdev/examples/template/src/main.c index 88416b7..65eaafd 100644 --- a/frontends/calculator/CEdev/examples/template/src/main.c +++ b/frontends/calculator/CEdev/examples/template/src/main.c @@ -1,30 +1,30 @@ -/* - *-------------------------------------- - * Program Name: - * Author: - * License: - * Description: - *-------------------------------------- -*/ - -/* Keep these headers */ -#include -#include -#include -#include - -/* Standard headers (recommended) */ -#include -#include -#include -#include - -/* Put your function prototypes here */ - -/* Put all your globals here */ - -void main(void) { - /* Fill in the body of the main function here */ -} - -/* Put other functions here */ +/* + *-------------------------------------- + * Program Name: + * Author: + * License: + * Description: + *-------------------------------------- +*/ + +/* Keep these headers */ +#include +#include +#include +#include + +/* Standard headers (recommended) */ +#include +#include +#include +#include + +/* Put your function prototypes here */ + +/* Put all your globals here */ + +void main(void) { + /* Fill in the body of the main function here */ +} + +/* Put other functions here */ -- cgit v1.2.3-101-g0448