From 24881ebff29c363505cbc33dff65106fc7ce1f5b Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 5 Dec 2021 03:34:54 +0000 Subject: examples: Add Makefiles Fixes #1 --- examples/generate_beacon/Makefile | 9 +++++++++ examples/generate_rtscts/Makefile | 9 +++++++++ examples/parse_beacon/Makefile | 9 +++++++++ examples/parse_eapol/Makefile | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 examples/generate_beacon/Makefile create mode 100644 examples/generate_rtscts/Makefile create mode 100644 examples/parse_beacon/Makefile create mode 100644 examples/parse_eapol/Makefile (limited to 'examples') diff --git a/examples/generate_beacon/Makefile b/examples/generate_beacon/Makefile new file mode 100644 index 0000000..799de5b --- /dev/null +++ b/examples/generate_beacon/Makefile @@ -0,0 +1,9 @@ +CC=clang +CFLAGS=-Wall -Werror -O3 -o generate_beacon +LDFLAGS=-lpcap -lwifi + +parse_eapol: generate_beacon.o + $(CC) $(CFLAGS) generate_beacon.c $(LDFLAGS) + +clean: + rm generate_beacon *.o diff --git a/examples/generate_rtscts/Makefile b/examples/generate_rtscts/Makefile new file mode 100644 index 0000000..dbe6b10 --- /dev/null +++ b/examples/generate_rtscts/Makefile @@ -0,0 +1,9 @@ +CC=clang +CFLAGS=-Wall -Werror -O3 -o generate_rtscts +LDFLAGS=-lpcap -lwifi + +parse_eapol: generate_rtscts.o + $(CC) $(CFLAGS) generate_rtscts.c $(LDFLAGS) + +clean: + rm generate_rtscts *.o diff --git a/examples/parse_beacon/Makefile b/examples/parse_beacon/Makefile new file mode 100644 index 0000000..b1c78b4 --- /dev/null +++ b/examples/parse_beacon/Makefile @@ -0,0 +1,9 @@ +CC=clang +CFLAGS=-Wall -Werror -O3 -o parse_beacon +LDFLAGS=-lpcap -lwifi + +parse_eapol: parse_beacon.o + $(CC) $(CFLAGS) parse_beacon.c $(LDFLAGS) + +clean: + rm parse_beacon *.o diff --git a/examples/parse_eapol/Makefile b/examples/parse_eapol/Makefile new file mode 100644 index 0000000..bbc18ca --- /dev/null +++ b/examples/parse_eapol/Makefile @@ -0,0 +1,9 @@ +CC=clang +CFLAGS=-Wall -Werror -O3 -o parse_eapol +LDFLAGS=-lpcap -lwifi + +parse_eapol: parse_eapol.o + $(CC) $(CFLAGS) parse_eapol.c $(LDFLAGS) + +clean: + rm parse_eapol *.o -- cgit 1.4.1