-
Notifications
You must be signed in to change notification settings - Fork 13
/
c99shrc.example
54 lines (48 loc) · 961 Bytes
/
c99shrc.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Compilation flags
-Wall
-Wextra
-g -O2
// Headers to include
#include <alloca.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <regex.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <tgmath.h>
#include <time.h>
// Add OpenMP support
-fopenmp
#ifdef _OPENMP
# include <omp.h>
#else
# define omp_get_thread_num() 0
#endif
// GNU Scientific Library linked via pkg-config
#include <gsl/gsl_cdf.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_poly.h>
#include <gsl/gsl_randist.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_statistics.h>
#include <gsl/gsl_vector.h>
pkg-config gsl
// Add glib
#include <glib.h>
pkg-config glib-2.0
// Add SQLite3
#include <sqlite3.h>
pkg-config sqlite3
// Just in case!
-lm