summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 981b075f7b51ebd40080679b784dfa153e28eb1f (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
SRC_2 = dynamic.cpp users.cpp modules.cpp wildcard.cpp servers.cpp channels.cpp

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

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

all: inspircd

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