summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index d06e101..0000000
--- a/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-CC = gcc
-LD = gcc
-CFLAGS += -std=c99 -g
-CFLAGS += -D_GNU_SOURCE
-CFLAGS += $(shell pkg-config --cflags libconfig)
-CFLAGS += $(shell pcre-config --cflags)
-CFLAGS += $(shell xml2-config --cflags)
-CFLAGS += -pthread
-LDFLAGS += $(shell pkg-config --libs libconfig)
-LDFLAGS += $(shell pcre-config --libs)
-LDFLAGS += $(shell xml2-config --libs)
-LDFLAGS += -pthread
-OBJECTS = main.o config.o regexset.o channel.o user.o word.o sdbm.o export_xml.o nick.o parsing.o
-TARGET = ircstats
-
-all: $(TARGET)
-
-$(TARGET): $(OBJECTS)
- $(LD) $(LDFLAGS) -o $@ $^
-
-%.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
-clean:
- rm -f $(OBJECTS) $(TARGET)