aboutsummaryrefslogtreecommitdiff
path: root/example_packages/c_main
diff options
context:
space:
mode:
Diffstat (limited to 'example_packages/c_main')
-rw-r--r--example_packages/c_main/app/main.c5
-rw-r--r--example_packages/c_main/fpm.toml5
2 files changed, 10 insertions, 0 deletions
diff --git a/example_packages/c_main/app/main.c b/example_packages/c_main/app/main.c
new file mode 100644
index 0000000..398ec67
--- /dev/null
+++ b/example_packages/c_main/app/main.c
@@ -0,0 +1,5 @@
+int
+main (void)
+{
+ return 0;
+}
diff --git a/example_packages/c_main/fpm.toml b/example_packages/c_main/fpm.toml
new file mode 100644
index 0000000..eb18e9b
--- /dev/null
+++ b/example_packages/c_main/fpm.toml
@@ -0,0 +1,5 @@
+name = "c-main"
+
+[[executable]]
+name = "c-main"
+main = "main.c"