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.
ste/Makefile

19 lines
322 B

CC=gcc
CFLAGS=-Wall -Wextra -pedantic -Werror -Warray-bounds
OFLAGS=-O3
LFLAGS=-lncursesw
DFLAGS=-g -O0 -v -da -Q
OBJ=ste.o fbuffer.o
DEPS=fbuffer.h
ste: $(OBJ)
$(CC) $(CFLAGS) $(OFLAGS) $(LFLAGS) -o $@ $^
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) $(OFLAGS) $(LFLAGS) -c -o $@ $<
clean:
rm ste $(OBJ)