File: ns3%2B%2B

package info (click to toggle)
ns3 3.26%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 117,520 kB
  • ctags: 72,063
  • sloc: cpp: 462,724; python: 364,339; perl: 8,720; ansic: 7,153; xml: 3,401; makefile: 1,981; sh: 628
file content (7 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
#! /bin/sh

# This little script compiles a C++ source file with all NS3 dependencies
# You should use it as g++, providing a -o target to specify the output name

all_libs=`ls /usr/lib/libns3*.so|sed -e 's|/usr/lib/||' -e 's/.so$//'`
g++ -Wl,--no-as-needed `pkg-config --libs --cflags $all_libs` "$@"