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.
19 lines
322 B
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)
|
|
|