setup.rb 365 Bytes
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
require 'mkmf'
2
3
4
5
6
7

$INCFLAGS = "#{ENV['INCFLAGS']} #{$INCFLAGS}"
$CFLAGS   = "#{ENV['CFLAGS']} #{$CFLAGS}"
$LDFLAGS  = "#{ENV['LDFLAGS']} #{$LDFLAGS}"
$LIBS     = "#{ENV['LIBS']} #{$LIBS}"

Uwe Schulzweida's avatar
Uwe Schulzweida committed
8
$libs = append_library($libs, "stdc++")
9
$LDFLAGS  += " ../.libs/libcdipp.a ../../src/.libs/libcdi.a"
10
11
12
$srcs = %w[cdi_wrapper.cpp]
$objs = %w[cdi_wrapper.o]
create_makefile('Cdi')