Add the Makefile to Lua API which got gitignored and adjust local .gitignore 68/3868/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 18 Nov 2016 10:39:56 +0000 (10:39 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Fri, 18 Nov 2016 11:56:01 +0000 (11:56 +0000)
Change-Id: I87358dc5dddc6964c128283f096d382492af5886
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
vpp-api/lua/.gitignore [new file with mode: 0644]
vpp-api/lua/Makefile [new file with mode: 0644]

diff --git a/vpp-api/lua/.gitignore b/vpp-api/lua/.gitignore
new file mode 100644 (file)
index 0000000..061eabd
--- /dev/null
@@ -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 (file)
index 0000000..b5a95b2
--- /dev/null
@@ -0,0 +1,6 @@
+all: libcough.so
+
+libcough.so: cough.c
+       gcc -o libcough.so -shared -fPIC cough.c
+clean:
+       rm -f libcough.so