diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-12-12 21:31:27 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-12-12 21:31:27 +0100 |
commit | 03d8ee4b0e08c2209518e296de7f9a49183a4a47 (patch) | |
tree | 59f1b180df722e53b1f0bcda7c7822d8f8d63dd5 /Makefile | |
parent | 95f4c7cb4a9f0a30ab9d78852725a45688a97512 (diff) |
Replaced Makefile with SConstruct.
ircstats now builds by running scons instead of make.
Build with DEBUG set to compile with -g.
Also added scons-related stuff to .gitignore.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
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) |