aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common.c2
-rw-r--r--src/config.c2
-rw-r--r--src/dxvk.c2
-rw-r--r--src/lutris.c2
-rw-r--r--src/main.c2
-rw-r--r--src/meson.build28
-rw-r--r--src/net.c2
-rw-r--r--src/tar.c2
-rw-r--r--src/wine.c2
9 files changed, 44 insertions, 0 deletions
diff --git a/src/common.c b/src/common.c
index 6d687ee..c2691fe 100644
--- a/src/common.c
+++ b/src/common.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
diff --git a/src/config.c b/src/config.c
index 4309d87..26c775a 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <string.h>
#include <stdio.h>
diff --git a/src/dxvk.c b/src/dxvk.c
index 3ef429c..da78851 100644
--- a/src/dxvk.c
+++ b/src/dxvk.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdio.h>
#include <string.h>
#include <json.h>
diff --git a/src/lutris.c b/src/lutris.c
index ec1f14d..b06ce40 100644
--- a/src/lutris.c
+++ b/src/lutris.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdio.h>
#include <string.h>
#include <linux/limits.h>
diff --git a/src/main.c b/src/main.c
index 9b506ca..78ad4fe 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdio.h>
#include <string.h>
#include <linux/limits.h>
diff --git a/src/meson.build b/src/meson.build
new file mode 100644
index 0000000..06aae89
--- /dev/null
+++ b/src/meson.build
@@ -0,0 +1,28 @@
+polecat_deps = [libarchive_dep, libcurl_dep, libjson_c_dep]
+
+polecat_sources = files(
+ 'common.c',
+ 'common.h',
+ 'config.c',
+ 'config.h',
+ 'dxvk.c',
+ 'dxvk.h',
+ 'lutris.c',
+ 'lutris.h',
+ 'main.c',
+ 'main.h',
+ 'net.c',
+ 'net.h',
+ 'tar.c',
+ 'tar.h',
+ 'wine.c',
+ 'wine.h',
+)
+
+executable(
+ 'polecat',
+ polecat_sources,
+ dependencies : polecat_deps,
+ include_directories : conf_inc,
+ install : true,
+)
diff --git a/src/net.c b/src/net.c
index cf0488f..1a9cbdd 100644
--- a/src/net.c
+++ b/src/net.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/src/tar.c b/src/tar.c
index f7282e2..9e6d499 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <archive.h>
diff --git a/src/wine.c b/src/wine.c
index ed428ef..687150c 100644
--- a/src/wine.c
+++ b/src/wine.c
@@ -1,3 +1,5 @@
+#include <polecat-config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>