summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--CMakeLists.txt3
-rw-r--r--main.c6
3 files changed, 10 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d163863
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+build/ \ No newline at end of file
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..c875fa8
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,3 @@
+project(tcp-forwarder)
+
+add_executable(tcpf main.c) \ No newline at end of file
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..e9c0e82
--- /dev/null
+++ b/main.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+int main()
+{
+ printf("hello world!");
+} \ No newline at end of file