commit 59e34a7a180974d2b92b1cffb89a19da52181616 from: Alexander Arkhipov date: Fri Dec 30 16:57:49 2022 UTC simplify the makefile commit - 926e1c04eee17d60a49e5903d3273232fbd30fb0 commit + 59e34a7a180974d2b92b1cffb89a19da52181616 blob - 98c987ff6c0d41c0465643b2c993411635c840ff blob + f6fc7bd63f057ebd97c3c16df32fcc0bfcdda8bd --- config.mk +++ config.mk @@ -2,13 +2,9 @@ VERSION = 0.3.2 PREFIX = /usr/local MANPREFIX = $(PREFIX)/man -# Linux -#MANPREFIX = $(PREFIX)/share/man -LIBS = -lm -lsodium -# BSD -#INCS = -I/usr/local/include -#LIBS = -L/usr/local/lib -lm -lsodium +INCS = -I/usr/local/include +LIBS = -L/usr/local/lib -lm -lsodium CC = cc CPPFLAGS = -D_DEFAULT_SOURCE @@ -17,3 +13,8 @@ LDFLAGS = $(LIBS) # Debug #CFLAGS = -std=c99 -Wall -pedantic $(INCS) -Wextra -O0 -g + +# Linux +#MANPREFIX = $(PREFIX)/share/man +#INCS = +#LIBS = -lm -lsodium