Simple Text Editro a ncurses based text editor made for educational purposes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
CC=gcc
|
|
CFLAGS=-Wall -Wextra -pedantic -Werror -Warray-bounds
|
|
OFLAGS=-O3
|
|
LFLAGS=-lncursesw
|
|
#-ltcmalloc
|
|
DFLAGS=-g -O0 -v -da -Q
|
|
|
|
ste: ste.c
|
|
$(CC) $(CFLAGS) $(OFLAGS) $(LFLAGS) -o ste $^
|
|
|
|
dbg: ste.c
|
|
$(CC) $(CFLAGS) $(DFLAGS) $(LFLAGS) -o dbg $^
|
|
|
|
clean:
|
|
rm ste ste.c.* dbg
|
|
|