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