summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-09-24 08:13:25 +0700
committerfadhil riyanto <me@fadev.org>2024-09-24 08:13:25 +0700
commit5873a7ebe6b21c069d6afc155e33629e26017bf1 (patch)
treecedfe9984fa086fac7d1aff5f7836c5bf2f42be8
initial
-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