hak5 fixes
[soho-sigint.git] / client-wifi / sohosigint / Makefile
diff --git a/client-wifi/sohosigint/Makefile b/client-wifi/sohosigint/Makefile
new file mode 100644 (file)
index 0000000..279925e
--- /dev/null
@@ -0,0 +1,14 @@
+CFLAGS= -std=gnu99
+DEPS = endian.h 
+LIBS=$(LDFLAGS) -L. -lpcap -lcurl -ljson-c -lssl -lorcon2 `pkg-config --libs libnl-3.0 libnl-genl-3.0`
+OBJ = sohosigint-wifi.o radiotap.o
+
+%.o: %.c $(DEPS)
+       $(CC) -c -o $@ $<
+
+soho-sigint-wifi: $(OBJ)
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
+clean:
+       rm -rf *.o 
+       rm -rf sohosigint-wifi