Move all files to a source folder
This commit is contained in:
parent
228c992c84
commit
a279eb708d
20 changed files with 50 additions and 14 deletions
14
Makefile
14
Makefile
|
@ -1,14 +0,0 @@
|
|||
kilo: fn.c terminal.c
|
||||
$(CC) fn.c terminal.c output.c row.c hl.c search.c file.c input.c -o fn \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wbad-function-cast \
|
||||
-Wcast-align \
|
||||
-Wcast-qual \
|
||||
-Wmissing-declarations \
|
||||
-Wnested-externs \
|
||||
-Wpointer-arith \
|
||||
-Wwrite-strings \
|
||||
-Wno-discarded-qualifiers \
|
||||
-pedantic \
|
||||
-std=c99
|
31
README
Normal file
31
README
Normal file
|
@ -0,0 +1,31 @@
|
|||
# FuNote
|
||||
|
||||
This is a sinple (mostly) POSIX complaint terminal text editor, which
|
||||
should be working on all common (and not so common) VT100 compatible
|
||||
terminal emulators.
|
||||
|
||||
## Features
|
||||
|
||||
* Load/Save/create text files
|
||||
* Common keyboard controls
|
||||
* Search
|
||||
* Syntax Highlighting
|
||||
|
||||
## Compile
|
||||
|
||||
$ cd src
|
||||
$ make
|
||||
$ ./fn
|
||||
|
||||
## TODO
|
||||
|
||||
* ISO8859-15 or UTF-8 files and input
|
||||
* Line numbers
|
||||
* Soft wrap lines
|
||||
* Add a .fnrc file to store/read configuration
|
||||
|
||||
## Author
|
||||
|
||||
Aaron Fischer (<mail@aaron-fischer.net>)
|
||||
https://aaron-fischer.net/
|
||||
|
BIN
fn
BIN
fn
Binary file not shown.
19
src/Makefile
Normal file
19
src/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
CFLAGS = -Wall \
|
||||
-Wextra \
|
||||
-Wbad-function-cast \
|
||||
-Wcast-align \
|
||||
-Wcast-qual \
|
||||
-Wmissing-declarations \
|
||||
-Wnested-externs \
|
||||
-Wpointer-arith \
|
||||
-Wwrite-strings \
|
||||
-Wno-discarded-qualifiers \
|
||||
-pedantic \
|
||||
-std=c99
|
||||
SRC=$(wildcard *.c)
|
||||
|
||||
clean:
|
||||
rm -f fn
|
||||
|
||||
fn: $(SRC)
|
||||
$(CC) -o $@ $^ $(CFLAGS)
|
Loading…
Reference in a new issue