1 |
< |
all: |
2 |
< |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Host.o Host.cpp |
3 |
< |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o XMLFormatter.o XMLFormatter.cpp |
4 |
< |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SmallNet.o SmallNet.cpp |
5 |
< |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Config.o Config.cpp |
6 |
< |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SysMon.o SysMon.cpp |
7 |
< |
g++ -o Host -Isocket++-1.10 -Lsocket++-1.10 -lsocket++ -lsocket -lnsl Host.o Config.o XMLFormatter.o SmallNet.o SysMon.o socket++-1.10/libsocket++.a |
1 |
> |
all: exe |
2 |
|
|
3 |
|
clean: |
4 |
|
rm -f XMLFormatter.o XMLTest.o XMLTest Host.o SmallNet.o Config.o SysMon.o SmallNet |
5 |
|
rm -f XMLFormatter.cpp.bak XMLformatter.h.bak Host.cpp.bak Config.cpp.bak Config.h.bak |
6 |
|
rm -f SmallNet.h.bak SmallNet.cpp.bak Makefile.bak SysMon.h.bak SysMon.cpp.bak |
7 |
+ |
rm -f SubNet.h.bak SubNet.cpp.bak SubNet.o SubPipe.o |
8 |
|
rm -f Host core |
9 |
|
|
10 |
|
exe: |
13 |
|
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SmallNet.o SmallNet.cpp |
14 |
|
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Config.o Config.cpp |
15 |
|
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SysMon.o SysMon.cpp |
16 |
< |
g++ -o Host -Isocket++-1.10 -Lsocket++-1.10 -lsocket++ -lsocket -lnsl Host.o Config.o XMLFormatter.o SmallNet.o SysMon.o socket++-1.10/libsocket++.a |
16 |
> |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SubNet.o SubNet.cpp |
17 |
> |
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SubPipe.o SubPipe.cpp |
18 |
> |
g++ -o Host -Isocket++-1.10 -Lsocket++-1.10 -lsocket++ -lsocket -lnsl Host.o Config.o XMLFormatter.o SmallNet.o SysMon.o SubNet.o SubPipe.o socket++-1.10/libsocket++.a |
19 |
|
|
20 |
< |
run: |
24 |
< |
make clean exe |
20 |
> |
run: clean exe |
21 |
|
Host |
22 |
|
|