Sha256: 74f7b588830462c7509f43f365fd0681122e940189dcba6f60a3169cca9e298b
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
require "mkmf" EXT_H = %w[ arith_utils.h congruences.h prime_gen.h ] EXT_C = %w[ arith_utils.c congruence_solver.c congruences.c prime_gen.c ] EXT_H.each do |fname| unless File::exist? fname raise "Ext header #{fname} does not exist in #{Dir::pwd}" end end EXT_C.each do |fname| unless File::exist? fname raise "Ext file #{fname} does not exist in #{Dir::pwd}" end end create_makefile "congruence_solver/congruence_solver"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
congruence_solver-0.3.0 | ext/congruence_solver/extconf.rb |