Skip to content

Commit

Permalink
added install target
Browse files Browse the repository at this point in the history
  • Loading branch information
isotopp committed Feb 27, 2014
1 parent a55b934 commit 019c0ad
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ if platform == 'darwin':
env.Append(CPPFLAGS=['-Ddarwin'])

# Compile the programs
env.Program(target = './pkt2flow',
pkt2flow = env.Program(target = './pkt2flow',
source = Glob('./*.c'),
LIBPATH = lib_path,
LIBS = libs,
CPPPATH = cpp_path)

# install the program
env.Install(dir = "/usr/local/bin", source = pkt2flow)

# create an install alias
env.Alias('install', ['/usr/local/bin'])

0 comments on commit 019c0ad

Please sign in to comment.