aboutsummaryrefslogtreecommitdiffstats
path: root/gg_sniff/Makefile
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2012-12-02 22:52:32 +0100
committerLaurent Ghigonis <laurent@p1sec.com>2012-12-02 22:52:32 +0100
commit219a6f3c65800b71d02941302e5b31861ef2739a (patch)
treeb1b8fe4bc0e3060501f85188f35396feda624568 /gg_sniff/Makefile
parentoops, fix _gg_trackproc user (diff)
downloadglouglou-219a6f3c65800b71d02941302e5b31861ef2739a.tar.xz
glouglou-219a6f3c65800b71d02941302e5b31861ef2739a.zip
work in progress on gg_sniff
Diffstat (limited to 'gg_sniff/Makefile')
-rw-r--r--gg_sniff/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/gg_sniff/Makefile b/gg_sniff/Makefile
new file mode 100644
index 0000000..a883274
--- /dev/null
+++ b/gg_sniff/Makefile
@@ -0,0 +1,21 @@
+CFLAGS += $(shell pkg-config --cflags elementary evas ecore)
+LIBS += $(shell pkg-config --libs elementary evas ecore)
+CFLAGS += -Wall -O2
+
+BINARY=gg_sniff
+
+PREFIX=/usr/local
+BINDIR=$(PREFIX)/bin
+
+$(BINARY): $(BINARY).o
+ $(CC) -o $@ $< $(LIBS)
+
+install: $(BINARY)
+ @echo "installation of $(BINARY)"
+ mkdir -p $(BINDIR)
+ useradd -d /var/empty/ -s /sbin/nologin _gg_sniff
+ install -m 0755 $(BINARY) $(BINDIR)
+
+clean:
+ rm -f $(BINARY) $(BINARY).o
+