summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 18950d1..92d2043 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,12 @@
CC = gcc
LD = gcc
-CFLAGS += -std=c99
+CFLAGS += -std=c99 -g
+CFLAGS += -D_GNU_SOURCE
CFLAGS += $(shell pkg-config --cflags libconfig)
CFLAGS += $(shell pcre-config --cflags)
LDFLAGS += $(shell pkg-config --libs libconfig)
LDFLAGS += $(shell pcre-config --libs)
-OBJECTS = main.o config.o regexset.o
+OBJECTS = main.o config.o regexset.o channel.o
TARGET = ircstats
all: $(TARGET)