aboutsummaryrefslogtreecommitdiffstats
path: root/build.rs
blob: 5e1420940d05175f21f52cb8e97a2a19c51db5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2018 Matthias P. Braendli
// SPDX-License-Identifier: GPL-2.0-only

extern crate cc;

fn main() {
    cc::Build::new()
        .file("src/kissattach.c")
        .compile("kissattach");

	println!("cargo:rustc-link-lib=ax25");

    /*
       .file("bar.c")
       .define("FOO", Some("bar"))
       .include("src")
       .compile("foo");
     */
}