cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

commit b8769268d8e46fc7bbed2c926fa7c1b9cb33caf8
parent 96872af01d9c9508019545e72b1ce519bc05daed
Author: cnlohr <lohr85@gmail.com>
Date:   Thu, 26 Sep 2019 21:24:17 -0400

Allow CFLAGS and LDFLAGS to be overridden.  See #61

Diffstat:
MMakefile | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,15 +1,14 @@ all : cnping searchnet -CFLAGS:=$(CFLAGS) -s -Os -I/opt/X11/include -Wall -CXXFLAGS:=$(CFLAGS) -LDFLAGS:=-s -L/opt/X11/lib/ +CFLAGS?=-s -Os -I/opt/X11/include -Wall +LDFLAGS?=-s -L/opt/X11/lib/ CC?=gcc #CFLAGS:=$(CFLAGS) -DCNFGOGL #LDFLAGS:=$(LDFLAGS) -lGL #MINGW32:=/usr/bin/i686-w64-mingw32- -MINGW32:=i686-w64-mingw32- +MINGW32?=i686-w64-mingw32- #If you don't need admin priveleges ADMINFLAGS:= $(ADMINFLAGS) -DWIN_USE_NO_ADMIN_PING