diff --git a/webserver/Makefile b/webserver/Makefile new file mode 100644 index 00000000..bd95d795 --- /dev/null +++ b/webserver/Makefile @@ -0,0 +1,13 @@ +CC = gcc +CFLAGS = -Wall -O2 + +all: testarp + +testarp: testarp.o + $(CC) $(LFLAGS) -o testarp testarp.o + +testarp.o: testarp.c + $(CC) $(CFLAGS) -c testarp.c + +clean: + rm -f *~ *.o testarp diff --git a/webserver/testarp.c b/webserver/testarp.c new file mode 100644 index 00000000..a838e7ee --- /dev/null +++ b/webserver/testarp.c @@ -0,0 +1,12 @@ +#include +#include + +int main(int argc, char **argv) { + + char device[]="wlan0"; + + printf("Using device: %s\n", device); + + return 0; + +}