Haha, fixed some sillyness with the client in c.
[soho-sigint.git] / client-wifi / client-c / Makefile
diff --git a/client-wifi/client-c/Makefile b/client-wifi/client-c/Makefile
new file mode 100644 (file)
index 0000000..1f86b64
--- /dev/null
@@ -0,0 +1,14 @@
+CFLAGS= -std=gnu99
+DEPS = endian.h 
+LIBS=$(LDFLAGS) -L. -lpcap -lcurl -ljson-c -lssl
+OBJ = soho-sigint-wifi.o radiotap.o
+
+%.o: %.c $(DEPS)
+       $(CC) -c -o $@ $<
+
+soho-sigint-wifi: $(OBJ)
+       $(CC) -o $@ $^ $(CFLAGS) $(LIBS)
+
+clean:
+       rm -rf *.o 
+       rm -rf soho-sigint-wifi