ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/Makefile
(Generate patch)

Comparing projects/cms/source/host/c++/Makefile (file contents):
Revision 1.3 by ab11, Mon Feb 26 14:56:44 2001 UTC vs.
Revision 1.9 by tdb, Wed Jun 13 19:56:03 2001 UTC

# Line 1 | Line 1
1 < all:
2 <        g++ -c -o XMLFormatter.o XMLFormatter.cpp
3 <        g++ -c -o Config.o Config.cpp
4 <        g++ -c -o SmallNet.o SmallNet.cpp
5 <        
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
9 <        rm -f SmallNet.h.bak SmallNet.cpp.bak Makefile.bak SysMon.h.bak SysMon.cpp.bak
10 <        rm -f Host core
11 <        
12 < config:
13 <        g++ -c -o Config.o Config.cpp
4 >        rm -f *.o *.bak
5 >        rm -f Host core libsocket++.a
6  
7 < smallnet:
8 <        g++ -c -o SmallNet.o SmallNet.cpp
9 < exe:
10 <        g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Host.o Host.cpp
11 <        g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o XMLFormatter.o XMLFormatter.cpp
12 <        g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SmallNet.o SmallNet.cpp
13 <        g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Config.o Config.cpp
14 <        g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SysMon.o SysMon.cpp
15 <        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 <        
17 < pipe:
18 <        g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o PipeTest.o PipeTest.cpp
19 <        g++ -o PipeTest -Isocket++-1.10 -Lsocket++-1.10 -lsocket++ -lsocket -lnsl PipeTest.o socket++-1.10/libsocket++.a
7 > exe: libsocket++.a
8 >        g++ -c -Isocket++-1.10 -o Host.o Host.cpp
9 >        g++ -c -Isocket++-1.10 -o XMLFormatter.o XMLFormatter.cpp
10 >        g++ -c -Isocket++-1.10 -o SmallNet.o SmallNet.cpp
11 >        g++ -c -Isocket++-1.10 -o Config.o Config.cpp
12 >        g++ -c -Isocket++-1.10 -o SysMon.o SysMon.cpp
13 >        g++ -c -Isocket++-1.10 -o SubNet.o SubNet.cpp
14 >        g++ -c -Isocket++-1.10 -o SubPipe.o SubPipe.cpp
15 >        g++ -o Host -L. -lsocket++ -lsocket -lnsl Host.o Config.o XMLFormatter.o SmallNet.o SysMon.o SubNet.o SubPipe.o libsocket++.a
16 >
17 > run: clean exe
18 >        Host
19 >
20 > libsocket++.a:
21 >        cd socket++-1.10 && sh configure && make
22 >        cp socket++-1.10/libsocket++.a .
23 >        cd socket++-1.10 && make real-clean

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines