17 lines
227 B
Makefile
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
|