mingw compiles but not work yet

This commit is contained in:
U-DESKTOP-T772REH\wangyu
2018-06-18 21:50:57 +08:00
parent 26b356866f
commit f75eb798dc
8 changed files with 260 additions and 26 deletions

View File

@@ -32,6 +32,10 @@ cygwin:git_version
rm -f ${NAME}
${cc_local} -o ${NAME} -I. ${SOURCES} pcap_wrapper.cpp ${FLAGS} -lrt -ggdb -static -O2 -D_GNU_SOURCE
mingw:git_version
rm -f ${NAME}
${cc_local} -o ${NAME} -I. ${SOURCES} pcap_wrapper.cpp ${FLAGS} -ggdb -static -O2 -lws2_32
linux:git_version
rm -f ${NAME}
${cc_local} -o ${NAME} -I. ${SOURCES} ${PCAP} ${LIBNET} ${FLAGS} -lrt -ggdb -static -O2