Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 1 | #/bin/env bash |
| 2 | |
| 3 | src=$(realpath $(dirname $0)/../..)/src |
Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 4 | |
| 5 | ${CC:-cc} \ |
| 6 | -O2 \ |
| 7 | -flto \ |
| 8 | -static \ |
| 9 | -I ${src} \ |
Damjan Marion | 289c7f5 | 2021-04-02 23:04:05 +0200 | [diff] [blame] | 10 | ${src}/vppinfra/backtrace.c \ |
| 11 | ${src}/vppinfra/dlmalloc.c \ |
| 12 | ${src}/vppinfra/elf.c \ |
| 13 | ${src}/vppinfra/elf_clib.c \ |
| 14 | ${src}/vppinfra/error.c \ |
| 15 | ${src}/vppinfra/format.c \ |
| 16 | ${src}/vppinfra/hash.c \ |
| 17 | ${src}/vppinfra/mem.c \ |
| 18 | ${src}/vppinfra/mem_dlmalloc.c \ |
| 19 | ${src}/vppinfra/std-formats.c \ |
| 20 | ${src}/vppinfra/string.c \ |
| 21 | ${src}/vppinfra/socket.c \ |
| 22 | ${src}/vppinfra/vec.c \ |
| 23 | ${src}/vppinfra/unformat.c \ |
| 24 | ${src}/vppinfra/unix-misc.c \ |
| 25 | ${src}/vppinfra/linux/mem.c \ |
| 26 | ${src}/vpp/app/vppctl.c \ |
| 27 | -o vppctl |