1 |
< |
all: |
2 |
< |
make exe |
1 |
> |
all: exe |
2 |
|
|
3 |
|
clean: |
4 |
< |
rm -f XMLFormatter.o XMLTest.o XMLTest Host.o SmallNet.o Config.o SysMon.o SmallNet |
6 |
< |
rm -f XMLFormatter.cpp.bak XMLformatter.h.bak Host.cpp.bak Config.cpp.bak Config.h.bak |
7 |
< |
rm -f SmallNet.h.bak SmallNet.cpp.bak Makefile.bak SysMon.h.bak SysMon.cpp.bak |
8 |
< |
rm -f SubNet.h.bak SubNet.cpp.bak SubNet.o SubPipe.o |
4 |
> |
rm -f *.o *.bak |
5 |
|
rm -f Host core |
6 |
|
|
7 |
|
exe: |
14 |
|
g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SubPipe.o SubPipe.cpp |
15 |
|
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 |
16 |
|
|
17 |
< |
run: |
22 |
< |
make clean exe |
17 |
> |
run: clean exe |
18 |
|
Host |
19 |
|
|