ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/Makefile
Revision: 1.4
Committed: Thu Mar 1 19:42:56 2001 UTC (23 years, 8 months ago) by ab11
Branch: MAIN
Changes since 1.3: +11 -12 lines
Log Message:
Modifed so that it has the generic "make run" option. Also removed a lot of 'dead' options

File Contents

# Content
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
8
9 clean:
10 rm -f XMLFormatter.o XMLTest.o XMLTest Host.o SmallNet.o Config.o SysMon.o SmallNet
11 rm -f XMLFormatter.cpp.bak XMLformatter.h.bak Host.cpp.bak Config.cpp.bak Config.h.bak
12 rm -f SmallNet.h.bak SmallNet.cpp.bak Makefile.bak SysMon.h.bak SysMon.cpp.bak
13 rm -f Host core
14
15 exe:
16 g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Host.o Host.cpp
17 g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o XMLFormatter.o XMLFormatter.cpp
18 g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SmallNet.o SmallNet.cpp
19 g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o Config.o Config.cpp
20 g++ -c -Isocket++-1.10 -Lsocket++-1.10 -o SysMon.o SysMon.cpp
21 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
22
23 run:
24 make clean exe
25 Host
26