utils

small programs, scripts and utils
git clone https://git.e1e0.net/utils.git
Log | Files | Refs

commit e29633acd501496c3a30b5b2298ea66a605d2255
parent 9569f21bab84952e6d3eb5134bac6280fbdedfd6
Author: Paco Esteban <paco@e1e0.net>
Date:   Sun, 14 Feb 2021 23:36:25 +0100

geoloc: -Wall and friends for compiler

Diffstat:
Mgeoloc/Makefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/geoloc/Makefile b/geoloc/Makefile @@ -1,5 +1,6 @@ CC = clang CFLAGS != curl-config --cflags +CFLAGS += -Wall -Wextra -Werror -std=c11 -pedantic LIBS != curl-config --libs LIBS += -ljson-c PREFIX = /usr/local @@ -10,7 +11,7 @@ PREFIX = /usr/local all: geoloc clean: - rm -f geoloc geoloc.o + rm -f geoloc geoloc.o geoloc.core install: all install -d -m 0755 $(PREFIX)/bin