summaryrefslogtreecommitdiffstats
path: root/vpp-api/lua
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2016-11-18 10:39:56 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-18 11:56:01 +0000
commit36806d18e8f2cc96fa8bc6ed3de7d5dfa1c274a5 (patch)
treef4674454753b2cc91484f7cd27597611481056f3 /vpp-api/lua
parent4fafa623de9ac35ec6256b3e3b2b61b63e58c675 (diff)
Add the Makefile to Lua API which got gitignored and adjust local .gitignore
Change-Id: I87358dc5dddc6964c128283f096d382492af5886 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
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