Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4668e9ca58
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (15 sloc) 0.36 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
LIBNET_CONFIG=libnet-config

GCC=gcc
RM=/bin/rm
APP=drench
LDFLAGS=-L/usr/pkg/lib
CFLAGS=-I/usr/pkg/include -m32
LIBS=-lpcap -lcrypto


drench:
$(GCC) $(LDFLAGS) $(CFLAGS) $(LIBS) \
`$(LIBNET_CONFIG) --libs` \
`$(LIBNET_CONFIG) --cflags` \
`$(LIBNET_CONFIG) --defines` \
-g -Wall -o $(APP) $(APP).c $(APP)_send.c $(APP)_arp.c

clean:
-@$(RM) $(APP)
Something went wrong with that request. Please try again.