qt/ledset/WpdPack_4_1_2/Examples-pcap/UDPdump/GNUmakefile
2022-08-25 18:43:03 +08:00

18 lines
305 B
Makefile

# Makefile for cygwin gcc
# Loris Degioanni
PCAP_PATH = ../../lib
CFLAGS = -g -O -mno-cygwin -I ../../include
OBJS = udpdump.o
LIBS = -L ${PCAP_PATH} -lwpcap -lwsock32
all: ${OBJS}
${CC} ${CFLAGS} -o udpdump.exe ${OBJS} ${LIBS}
clean:
rm -f ${OBJS} udpdump.exe
.c.o:
${CC} ${CFLAGS} -c -o $*.o $<