mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-26 11:30:12 +00:00
27 lines
356 B
Makefile
27 lines
356 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -O2
|
|
LFLAGS =-lpcap
|
|
|
|
all: testarp webserver
|
|
|
|
###
|
|
|
|
testarp: testarp.o
|
|
$(CC) $(LFLAGS) -o testarp testarp.o
|
|
|
|
testarp.o: testarp.c
|
|
$(CC) $(CFLAGS) -c testarp.c
|
|
|
|
###
|
|
|
|
webserver: webserver.o
|
|
$(CC) $(LFLAGS) -o webserver webserver.o
|
|
|
|
webserver.o: webserver.c
|
|
$(CC) $(CFLAGS) -c webserver.c
|
|
|
|
###
|
|
|
|
clean:
|
|
rm -f *~ *.o testarp webserver
|