summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 4b4242eb7e0b202fdf4a0fbb1da4097db38e5c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Insp Makefile :p
#
# (C) ChatSpike development team
# Makefile by <Craig@ChatSpike.net>
# Small modifications by <brain@ChatSpike.net>
#

CC = im a cheezeball

SRC_1 = inspircd.cpp inspircd_util.cpp inspircd_io.cpp connection.cpp message.cpp
SRC_2 = dynamic.cpp users.cpp modules.cpp wildcard.cpp servers.cpp channels.cpp mode.cpp

SRC = $(SRC_1) $(SRC_2)
OBJS = $(SRC:.cpp=.o)

CXXFLAGS = -I$../../include ${FLAGS}

all: inspircd

inspircd: $(OBJS)
	$(CXX) -rdynamic $^ -o $@ $(LDLIBS)