From db485dd4c42c3d0716d6ab511be416fd35bbb7ac Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Sat, 21 Apr 2018 22:39:55 +0300 Subject: [PATCH] Build binaries in bin folder --- Makefile.FreeBSD | 2 +- Makefile.Solaris | 2 +- Makefile.Solaris-gcc | 2 +- Makefile.openwrt-mips | 2 +- Makefile.unix | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index f66c851..0eb8774 100644 --- a/Makefile.FreeBSD +++ b/Makefile.FreeBSD @@ -7,7 +7,7 @@ # remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC # library support. Add -DSAFESQL for poorely written ODBC library / drivers. -BUILDDIR = +BUILDDIR = ../bin/ CC ?= gcc CFLAGS = -c -O -fno-strict-aliasing -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL diff --git a/Makefile.Solaris b/Makefile.Solaris index 578ec57..8ddda1d 100644 --- a/Makefile.Solaris +++ b/Makefile.Solaris @@ -7,7 +7,7 @@ # remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC # library support. Add -DSAFESQL for poorely written ODBC library / drivers. -BUILDDIR = +BUILDDIR = ../bin/ CC = cc CFLAGS = -xO3 -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL COUT = -o ./ diff --git a/Makefile.Solaris-gcc b/Makefile.Solaris-gcc index 245943a..5e05127 100644 --- a/Makefile.Solaris-gcc +++ b/Makefile.Solaris-gcc @@ -8,7 +8,7 @@ # library support. Add -DSAFESQL for poorely written ODBC library / drivers. -BUILDDIR = +BUILDDIR = ../bin/ CC = gcc CFLAGS = -O2 -fno-strict-aliasing -c -D_SOLARIS -D_THREAD_SAFE -DGETHOSTBYNAME_R -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL COUT = -o ./ diff --git a/Makefile.openwrt-mips b/Makefile.openwrt-mips index 36a9a8e..8965dd7 100644 --- a/Makefile.openwrt-mips +++ b/Makefile.openwrt-mips @@ -7,7 +7,7 @@ # remove -DNOODBC from CFLAGS and add -lodbc to LIBS to compile with ODBC # library support. Add -DSAFESQL for poorely written ODBC library / drivers. -BUILDDIR = +BUILDDIR = ../bin/ CC = mips-openwrt-linux-gcc CFLAGS = -g -O2 -c -pthread -DGETHOSTBYNAME_R -D_THREAD_SAFE -D_REENTRANT -DNOODBC -DWITH_STD_MALLOC -DFD_SETSIZE=4096 -DWITH_POLL -DWITH_NETFILTER diff --git a/Makefile.unix b/Makefile.unix index 68999be..954e5d0 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -7,7 +7,7 @@ # remove -DNOODBC from CFLAGS and add -lodbc to LDFLAGS to compile with ODBC # library support. Add -DSAFESQL for poorely written ODBC library / drivers. -BUILDDIR = +BUILDDIR = ../bin/ CC = gcc # you may need -L/usr/pkg/lib for older NetBSD versions