diff options
author | Luca <deri@ntop.org> | 2018-08-30 11:17:19 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2018-08-30 11:17:19 +0200 |
commit | 33d6f2d52fe38d9fa305bc67a8678567c759b414 (patch) | |
tree | 34f27084b90d567dec7da379a53f9af66d6faa5a /example/Makefile.in | |
parent | e4f01976a66f1943bde7b253b62430d36c6d9e74 (diff) |
Added missing file
Diffstat (limited to 'example/Makefile.in')
-rw-r--r-- | example/Makefile.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/example/Makefile.in b/example/Makefile.in new file mode 100644 index 000000000..5aa175309 --- /dev/null +++ b/example/Makefile.in @@ -0,0 +1,20 @@ +CC=@CC@ +CFLAGS=-g -I../src/include @CFLAGS@ +LIBNDPI=../src/lib/libndpi.a +LDFLAGS=$(LIBNDPI) -lpcap @LDFLAGS@ +OBJS=ndpiReader.o ndpi_util.o + +all: ndpiReader + +ndpiReader: $(OBJS) $(LIBNDPI) + $(CC) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) + +%.o: %.c $(HEADERS) Makefile + $(CC) $(CFLAGS) -c $< -o $@ + +install: + cp ndpiReader /usr/local/bin + +clean: + /bin/rm *.o ndpiReader + |