clii/makefile
reemo 1b775f59cc i finally get to go home
not touching a computer for a while weow
2023-12-28 18:08:23 +00:00

17 lines
227 B
Makefile

CC = gcc
CFLAGS = -Wall -g
LDFLAGS = -lncurses
OBJS = main.o wsock.o ctx.o
DEPS = main.c
all: clii
clean:
rm -f $(OBJS)
clii: $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
%.o: src/%.c
$(CC) -o $@ $(CFLAGS) -c $<
.PHONY: all clean