]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
workign iperf server
authorseantywork <seantywork@gmail.com>
Sun, 11 May 2025 23:55:18 +0000 (08:55 +0900)
committerseantywork <seantywork@gmail.com>
Sun, 11 May 2025 23:55:18 +0000 (08:55 +0900)
iperf/Makefile [new file with mode: 0644]
iperf/iperf_s.c [new file with mode: 0644]
iperf/iperf_s.h [new file with mode: 0644]
iperf/main.c [new file with mode: 0644]

diff --git a/iperf/Makefile b/iperf/Makefile
new file mode 100644 (file)
index 0000000..63fb4f6
--- /dev/null
@@ -0,0 +1,13 @@
+GCC_FLAGS := -Wall -O2
+
+all: iperf_s.o
+
+       gcc $(GCC_FLAGS) -I. -o iperf_s.out main.c iperf_s.o 
+
+
+iperf_s.o: 
+
+       gcc $(GCC_FLAGS) -c -I. -o iperf_s.o iperf_s.c
+
+clean:
+       rm -r *.o *.a *.so *.out
\ No newline at end of file
diff --git a/iperf/iperf_s.c b/iperf/iperf_s.c
new file mode 100644 (file)
index 0000000..a8c68db
--- /dev/null
@@ -0,0 +1 @@
+#include "iperf_s.h"
\ No newline at end of file
diff --git a/iperf/iperf_s.h b/iperf/iperf_s.h
new file mode 100644 (file)
index 0000000..f966c65
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _IPERF_S_H_
+#define _IPERF_S_H_
+
+
+
+#endif
\ No newline at end of file
diff --git a/iperf/main.c b/iperf/main.c
new file mode 100644 (file)
index 0000000..92b2b3e
--- /dev/null
@@ -0,0 +1,8 @@
+#include "iperf_s.h"
+
+
+int main(int argc, char** argv){
+
+
+    return 0;
+}
\ No newline at end of file