2019-04-10 14:39:16 +02:00
|
|
|
pibs: pibs.o memutils.o
|
|
|
|
gcc -Wall -o pibs pibs.o memutils.o -lwiretap `pkg-config --libs glib-2.0` -lpcap -lhiredis -ggdb
|
|
|
|
|
|
|
|
memutils.o: memutils.c
|
|
|
|
gcc -Wall -c memutils.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
2019-02-01 15:20:03 +01:00
|
|
|
pibs.o: pibs.c
|
|
|
|
gcc -D HASHDEBUG=0 -Wall -c pibs.c `pkg-config --cflags glib-2.0` -I /usr/include/wireshark/wiretap -I /usr/include/wireshark/wsutil -I /usr/include/wireshark `pkg-config --libs glib-2.0` -I /usr/local/include/hiredis -ggdb
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm pibs
|
|
|
|
-rm *.o
|