aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api/lua
diff options
context:
space:
mode:
Diffstat (limited to 'vpp-api/lua')
-rw-r--r--vpp-api/lua/.gitignore2
-rw-r--r--vpp-api/lua/Makefile6
2 files changed, 8 insertions, 0 deletions
diff --git a/vpp-api/lua/.gitignore b/vpp-api/lua/.gitignore
new file mode 100644
index 00000000000..061eabdc5e8
--- /dev/null
+++ b/vpp-api/lua/.gitignore
@@ -0,0 +1,2 @@
+# A .gitignore to avoid ignoring the Makefile
+!Makefile
diff --git a/vpp-api/lua/Makefile b/vpp-api/lua/Makefile
new file mode 100644
index 00000000000..b5a95b2fe9d
--- /dev/null
+++ b/vpp-api/lua/Makefile
@@ -0,0 +1,6 @@
+all: libcough.so
+
+libcough.so: cough.c
+ gcc -o libcough.so -shared -fPIC cough.c
+clean:
+ rm -f libcough.so