add freebsd target

This commit is contained in:
Charlie Root 2018-06-23 07:51:36 +00:00
parent a6a3305874
commit f736d78ec2
2 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,7 @@ typedef int socklen_t;
#include <sys/types.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#endif

View File

@ -19,6 +19,10 @@ all:git_version
rm -f ${NAME}
${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -ggdb -static -O3
freebsd:git_version
rm -f ${NAME}
${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -ggdb -static -O3
cygwin:git_version
rm -f ${NAME}
${cc_local} -o ${NAME} -I. ${SOURCES} ${FLAGS} -lrt -ggdb -static -O3 -D_GNU_SOURCE