commit d16824aae4a33615ccddf8dbe2b5740a3e3a23ce parent 7125cc3eda3bd95d63ec07f09cf310e7bf50b09f Author: Paco Esteban <paco@e1e0.net> Date: Mon, 10 Feb 2020 19:42:03 +0100 improve geoloc makefile Diffstat:
M | geoloc/Makefile | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/geoloc/Makefile b/geoloc/Makefile @@ -1,4 +1,4 @@ -CC = cc +CC = clang CFLAGS != curl-config --cflags LIBS != curl-config --libs LIBS += -ljson-c @@ -13,8 +13,8 @@ clean: rm -f geoloc geoloc.o install: all - install -m 0755 geoloc $(PREFIX)/bin - install -m 0644 geoloc.1 $(PREFIX)/man/man1 + install -D -m 0755 geoloc $(PREFIX)/bin + install -D -m 0644 geoloc.1 $(PREFIX)/man/man1 geoloc: geoloc.o $(CC) -o geoloc geoloc.o $(LIBS)