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

20 lines
331 B

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