mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-10 08:54:51 +00:00
website: start working on basic/webserver
This commit is contained in:
parent
9ee9ec7729
commit
5cab4ef193
13
webserver/Makefile
Normal file
13
webserver/Makefile
Normal file
@ -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
|
12
webserver/testarp.c
Normal file
12
webserver/testarp.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include <pcap.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
char device[]="wlan0";
|
||||
|
||||
printf("Using device: %s\n", device);
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user