Add the Makefile to Lua API which got gitignored and adjust local .gitignore

Change-Id: I87358dc5dddc6964c128283f096d382492af5886
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
This commit is contained in:
Andrew Yourtchenko
2016-11-18 10:39:56 +00:00
committed by Damjan Marion
parent 4fafa623de
commit 36806d18e8
2 changed files with 8 additions and 0 deletions

2
vpp-api/lua/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# A .gitignore to avoid ignoring the Makefile
!Makefile

6
vpp-api/lua/Makefile Normal file
View File

@ -0,0 +1,6 @@
all: libcough.so
libcough.so: cough.c
gcc -o libcough.so -shared -fPIC cough.c
clean:
rm -f libcough.so