aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 19b52d367c622d7a8f8a6e6b8403d5cc4c83c72d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#CPPFLAGS += -DDEBUG
#CFLAGS += -g
LDLIBS = -lncursesw
OBJ = noice.o strlcpy.o
BIN = noice

all: $(BIN)

$(BIN): $(OBJ)
	$(CC) -o $@ $(OBJ) $(LDLIBS)

noice.o: noice.c queue.h util.h
	$(CC) -c noice.c

strlcpy.o: strlcpy.c util.h
	$(CC) -c strlcpy.c

clean:
	rm -f $(BIN) $(OBJ)