From: Saverio Proto Date: Wed, 2 Apr 2014 12:29:13 +0000 (+0200) Subject: Sample empty mesh link app that will make use of the library X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;ds=sidebyside;h=17426d3d0f380f6db38303aab7e0aa9d7afa5f2c;p=meshlink Sample empty mesh link app that will make use of the library --- diff --git a/meshlink-sample/.gitignore b/meshlink-sample/.gitignore new file mode 100644 index 00000000..24600083 --- /dev/null +++ b/meshlink-sample/.gitignore @@ -0,0 +1 @@ +!Makefile diff --git a/meshlink-sample/Makefile b/meshlink-sample/Makefile new file mode 100644 index 00000000..6c6ec4ae --- /dev/null +++ b/meshlink-sample/Makefile @@ -0,0 +1,18 @@ +# Simple Makefile + +CC=gcc +LIBS= -lcrypto -lz -llzo2 -ldl -lpthread -L../src/ -lmeshlink +INCLUDE= -I../src/ +LOADLIBES= $(LIBS) +OBJS= meshlinkapp.o +CFLAGS= -g -D_PC_ $(INCLUDE) -Wall +EXEC=meshlinkapp +default: all +all: $(OBJS) $(EXEC) +$(EXEC): $(OBJS) +clean: + -rm -f $(OBJS) + -rm -f $(EXEC) + + +rebuild: clean all diff --git a/meshlink-sample/meshlinkapp.c b/meshlink-sample/meshlinkapp.c new file mode 100644 index 00000000..a7d5a15f --- /dev/null +++ b/meshlink-sample/meshlinkapp.c @@ -0,0 +1,7 @@ +#include + +int main(int argc , char **argv){ + +return 0; +} +