-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (28 loc) · 810 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $Id: Makefile,v 1.3 2006/06/11 06:31:12 int19 Exp $
CXX = CC
CFLAGS = -g
LDFLAGS = -lsocket -lnsl -lresolv
OBJS = l2netmgr.o config.o cmdfact.o log.o stdafx.o server.o client.o
all: l2netmgr
l2netmgr: $(OBJS)
$(CXX) $(LDFLAGS) -o l2netmgr $(OBJS) sockets/sockets.a
cmdtest: cmdfact.o cmdtest.o
$(CXX) -o cmdtest cmdfact.o cmdtest.o
l2netmgr.o: l2netmgr.cpp
$(CXX) $(CFLAGS) -c l2netmgr.cpp
config.o: config.cpp
$(CXX) $(CFLAGS) -c config.cpp
cmdtest.o: cmdtest.cpp
$(CXX) $(CFLAGS) -c cmdtest.cpp
cmdfact.o: cmdfact.cpp
$(CXX) $(CFLAGS) -c cmdfact.cpp
log.o: log.cpp
$(CXX) $(CFLAGS) -c log.cpp
stdafx.o: stdafx.cpp
$(CXX) $(CFLAGS) -c stdafx.cpp
server.o: server.cpp
$(CXX) $(CFLAGS) -c server.cpp
client.o: client.cpp
$(CXX) $(CFLAGS) -c client.cpp
clean:
rm -f *.o l2netmgr core